🚧 getting our action going #17
Annotations
4 errors and 1 warning
test/user.test.ts#L66
TypeError: Cannot read properties of undefined (reading 'status')
❯ ../test/user.test.ts:66:29
|
test/user.test.ts#L55
FetchError: [POST] "/api/test/session": <no response> Failed to parse URL from /api/test/session
❯ Module.$fetch2 ../node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:268:15
❯ actingAs ../test/user.test.ts:55:20
❯ ../test/user.test.ts:71:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: '/api/test/session', options: { method: 'POST', body: '{"id":"1","hash":"bio_5713feeca9f39a45cb7de591345d3b01a2822c4be8d95930bcd9255bdd0ffccd"}', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: undefined, data: undefined, status: undefined, statusCode: undefined, statusText: undefined, statusMessage: undefined }
Caused by: Caused by: TypeError: Failed to parse URL from /api/test/session
Caused by: Caused by: TypeError: Invalid URL
❯ new URL ../node_modules/.pnpm/[email protected]/node_modules/happy-dom/src/url/URL.ts:9:15
❯ $fetchRaw2 ../node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:222:32
❯ Module.$fetch2 ../node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.37386b05.mjs:268:21
❯ Module.$fetch ../node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_magicast@0_kd7xjbg6w2kbue4xqazvzk2unm/node_modules/@nuxt/test-utils/dist/shared/test-utils.BumFEtZ8.mjs:142:32
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { input: '/api/test/session', code: 'ERR_INVALID_URL' }
|
node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_magicast@0_kd7xjbg6w2kbue4xqazvzk2unm/node_modules/@nuxt/test-utils/dist/shared/test-utils.BumFEtZ8.mjs#L54
Error: No context is available. (Forgot calling setup or createContext?)
❯ Module.useTestContext ../node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_magicast@0_kd7xjbg6w2kbue4xqazvzk2unm/node_modules/@nuxt/test-utils/dist/shared/test-utils.BumFEtZ8.mjs:54:11
❯ loadFixture ../node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_magicast@0_kd7xjbg6w2kbue4xqazvzk2unm/node_modules/@nuxt/test-utils/dist/shared/test-utils.BZS9cHDP.mjs:88:37
❯ setup2 ../node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_magicast@0_kd7xjbg6w2kbue4xqazvzk2unm/node_modules/@nuxt/test-utils/dist/shared/test-utils.BZS9cHDP.mjs:180:13
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading