fix: LDCL-235: Fix data not refreshing in SSG #711
Annotations
3 errors
test/errorhandling.test.ts > Module error handling > renders Drupal error page:
test/errorhandling.test.ts#L13
AssertionError: expected 500 to deeply equal 404
- Expected
+ Received
- 404
+ 500
❯ test/errorhandling.test.ts:13:29
|
test/redirect.test.ts > Module redirects work > redirect to /node/1 works:
test/redirect.test.ts#L12
FetchError: [GET] "http://127.0.0.1:3001/redirect": 500 Internal Server Error
❯ $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: { _data: { url: '/redirect', statusCode: 500, statusMessage: '', message: 'Cannot read properties of undefined (reading \'meta\')', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3001/redirect', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', 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>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>' }, data: { url: '/redirect', statusCode: 500, statusMessage: '', message: 'Cannot read properties of undefined (reading \'meta\')', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
ci (18.x)
Process completed with exit code 1.
|