Skip to content

Fix issue where passing the server config disables inline config #142

Fix issue where passing the server config disables inline config

Fix issue where passing the server config disables inline config #142

Re-run triggered July 25, 2024 19:25
Status Failure
Total duration 5m 22s
Artifacts

test.yml

on: pull_request
Run tests on local build
5m 11s
Run tests on local build
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/server.test.ts > Test development mode > Basic app > subpath html is served correctly: tests/server.test.ts#L60
AssertionError: expected "error" to not be called at all, but actually been called 3 times Received: 1st error call: Array [ "7:30:20 PM [vite] Pre-transform error: The "path" argument must be of type string. Received function assetsInclude", ] 2nd error call: Array [ "7:30:20 PM [vite] Internal server error: The "path" argument must be of type string. Received function assetsInclude at isAbsolute (node:path:1160:5) at getMatcherString (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:2718:37) at Object.test (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:2738:33) at result (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:2759:25) at Object.assetsInclude (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:68223:52) at Context.resolveId (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:15883:25) at Object.resolveId (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:51029:64) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ModuleGraph._resolveUrl (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:64406:46) at ModuleGraph.getModuleByUrl (file:///home/runner/work/vite-express/vite-express/node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:64127:23)", ] 3rd error call: Array [ "7:30:20 PM [vite] Pre-transform error: The "path" argument must be of type string. Received function assetsInclude", ] Number of calls: 3 ❯ isAbsolute node:path:1160:5 ❯ getMatcherString node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:2718:37 ❯ Object.test node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:2738:33 ❯ result node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:2759:25 ❯ Object.assetsInclude node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:68223:52 ❯ Context.resolveId node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:15883:25 ❯ Object.resolveId node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:51029:64 ❯ ModuleGraph._resolveUrl node_modules/vite/dist/node/chunks/dep-C-KAszbv.js:64406:46 ❯ tests/server.test.ts:60:36
Run tests on local build
Process completed with exit code 1.