improve: LDP-2644: Add option to disable form handler #738
Annotations
2 errors
Run npm run test:
test/redirect.test.ts#L12
FetchError: [GET] "http://127.0.0.1:3001/redirect": <no response> fetch failed
❯ $fetchRaw2 node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:311:14
❯ Module.$fetch2 node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ test/redirect.test.ts:12:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3001/redirect', options: { 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: TypeError: fetch failed
❯ $fetchRaw2 node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:258:26
❯ $fetchRaw2 node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:311:14
❯ Module.$fetch2 node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ test/redirect.test.ts:12:18
Caused by: Error: connect ECONNREFUSED 127.0.0.1:3001
❯ TCPConnectWrap.afterConnect [as oncomplete] node:net:1555:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3001 }
|
Run npm run test
Process completed with exit code 1.
|
Loading