feat(cache): add support for swr detection #1146
Annotations
3 errors
Run test suite:
node_modules/.pnpm/@[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs#L112
FetchError: [GET] "http://127.0.0.1:40291/": <no response> fetch failed
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:270:14
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ Module.startServer node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs:112:21
❯ setup2 node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.B9x0-cXO.mjs:186:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:40291/', options: { responseType: 'text', 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>' }, retry: +0 }, response: undefined, data: undefined, status: undefined, statusCode: undefined, statusText: undefined, statusMessage: undefined }
Caused by: Caused by: TypeError: fetch failed
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:258:26
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:270:14
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ Module.startServer node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.BHdilg2X.mjs:112:21
❯ setup2 node_modules/.pnpm/@nuxt[email protected][email protected][email protected][email protected][email protected]_@cloudfl_7qnmpyteaerhvvn6aip4aad7si/node_modules/@nuxt/test-utils/dist/shared/test-utils.B9x0-cXO.mjs:186:7
Caused by: Caused by: Error: connect ECONNREFUSED 127.0.0.1:40291
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 40291 }
|
Run test suite:
test/cache.test.ts#L53
AssertionError: expected { …(5) } to have property "expires"
❯ test/cache.test.ts:53:65
❯ test/cache.test.ts:53:23
|
Run test suite
Process completed with exit code 1.
|
Loading