Skip to content

Bring oldschooljs/toolkit in as a monorepo (#6211) #2004

Bring oldschooljs/toolkit in as a monorepo (#6211)

Bring oldschooljs/toolkit in as a monorepo (#6211) #2004

Triggered via push November 23, 2024 06:22
Status Failure
Total duration 2m 5s
Artifacts

unit_tests.yml

on: push
Matrix: unit_tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Unhandled error: src/lib/bankImage.ts#L323
Error: ENOENT: no such file or directory, open './src/lib/resources/images/spritesheet.png' ❯ open node:internal/fs/promises:639:25 ❯ Proxy.readFile node:internal/fs/promises:1249:14 ❯ BankImageTask.init src/lib/bankImage.ts:323:43 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: './src/lib/resources/images/spritesheet.png' } This error originated in "tests/unit/images.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "tests/unit/images.test.ts". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
tests/unit/banksnapshots.test.ts > OSB Creatables: tests/unit/banksnapshots.test.ts#L16
Error: Snapshot `OSB Creatables 1` mismatched ❯ tests/unit/banksnapshots.test.ts:16:17
tests/unit/banksnapshots.test.ts > OSB Buyables: tests/unit/banksnapshots.test.ts#L29
Error: Snapshot `OSB Buyables 1` mismatched ❯ tests/unit/banksnapshots.test.ts:29:17
tests/unit/images.test.ts: src/lib/bankImage.ts#L323
Error: ENOENT: no such file or directory, open './src/lib/resources/images/spritesheet.png' ❯ BankImageTask.init src/lib/bankImage.ts:323:43 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: './src/lib/resources/images/spritesheet.png' }
Node v20.15.0 - ubuntu-latest
Process completed with exit code 1.