chore: transition modules to hybrid ESM/CJS, switch to vitest for testing #16395
Annotations
3 errors
|
test/firmware-extraction.ts#L6
TypeError: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
❯ open node:internal/fs/promises:581:10
❯ Object.readFile node:internal/fs/promises:1027:20
❯ test/firmware-extraction.ts:6:24
❯ test/firmware-extraction.ts:9:1
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ VitestExecutor.runModule node_modules/.store/vite-node-npm-2.1.4-fd25d155f0/package/dist/client.mjs:399:5
❯ VitestExecutor.directRequest node_modules/.store/vite-node-npm-2.1.4-fd25d155f0/package/dist/client.mjs:381:5
❯ VitestExecutor.cachedRequest node_modules/.store/vite-node-npm-2.1.4-fd25d155f0/package/dist/client.mjs:206:14
❯ VitestExecutor.executeId node_modules/.store/vite-node-npm-2.1.4-fd25d155f0/package/dist/client.mjs:173:12
❯ collectTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:851:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
This error originated in "test/firmware-extraction.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 "test/firmware-extraction.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.
|
|
The logs for this run have expired and are no longer available.
Loading