Pass the builder tests #1087
Annotations
10 errors
Run yarn test:
src/server.ts#L156
TypeError: Invalid URL
❯ new NodeError node:internal/errors:405:5
❯ new URL node:internal/url:676:13
❯ Module.getViewerFullUrl src/server.ts:156:7
❯ tests/server.test.ts:31:10
❯ node_modules/@vitest/runner/dist/index.js:146:14
❯ node_modules/@vitest/runner/dist/index.js:61:7
❯ runTest node_modules/@vitest/runner/dist/index.js:960:17
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ runSuite node_modules/@vitest/runner/dist/index.js:1116:15
❯ runFiles node_modules/@vitest/runner/dist/index.js:1173:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { input: '/__vivliostyle-viewer/index.html', code: 'ERR_INVALID_URL' }
This error originated in "tests/server.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/server.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.
|
Run yarn test:
tests/cli.test.ts#L27
TypeError: default is not a function
❯ vivliostyleCLI tests/cli.test.ts:27:10
❯ tests/cli.test.ts:31:28
|
Run yarn test:
src/config/resolve.ts#L618
Error: The output path is set to "w3c-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path.
❯ Module.resolveTaskConfig src/config/resolve.ts:618:13
❯ Module.getTaskConfig tests/command-util.ts:61:26
❯ tests/config.test.ts:275:24
|
Run yarn test:
src/config/resolve.ts#L618
Error: The output path is set to "readium-webpub", but this will overwrite the working directory of Vivliostyle. Please specify a different path.
❯ Module.resolveTaskConfig src/config/resolve.ts:618:13
❯ Module.getTaskConfig tests/command-util.ts:61:26
❯ tests/config.test.ts:291:24
|
Run yarn test:
src/processor/html.tsx#L518
TypeError: Cannot destructure property 'document' of 'dom.window' as it is undefined.
❯ Module.processCoverHtml src/processor/html.tsx:518:11
❯ tests/cover.test.ts:25:19
|
Run yarn test:
tests/cover.test.ts#L66
TypeError: getMergedConfig is not a function
❯ tests/cover.test.ts:66:24
|
Run yarn test:
tests/cover.test.ts#L118
TypeError: getMergedConfig is not a function
❯ tests/cover.test.ts:118:24
|
Run yarn test:
tests/cover.test.ts#L209
TypeError: getMergedConfig is not a function
❯ tests/cover.test.ts:209:24
|
Run yarn test:
tests/epub.test.ts#L211
TypeError: getMergedConfig is not a function
❯ tests/epub.test.ts:211:24
|
Run yarn test:
tests/epub.test.ts#L270
TypeError: getMergedConfig is not a function
❯ tests/epub.test.ts:270:24
|
Loading