feat: allow skipping the API-proxy via optional parameter skipDrupalCeApiProxy #804
Annotations
10 errors and 1 warning
test/basic.test.ts > Module renders pages > renders homepage:
test/basic.test.ts#L12
FetchError: [GET] "http://127.0.0.1:3001/": 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/basic.test.ts:12:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3001/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3001/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/basic.test.ts > Module renders pages > renders menu:
test/basic.test.ts#L16
FetchError: [GET] "http://127.0.0.1:3001/": 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/basic.test.ts:16:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3001/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3001/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/basic.test.ts > Module renders pages > renders test page:
test/basic.test.ts#L21
FetchError: [GET] "http://127.0.0.1:3001/node/1": 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/basic.test.ts:21:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3001/node/1', 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: '/node/1', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3001/node/1', 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: '/node/1', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
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/errorhandling.test.ts > Module error handling > handles 404 statusCode:
test/errorhandling.test.ts#L24
AssertionError: expected 500 to deeply equal 404
- Expected
+ Received
- 404
+ 500
❯ test/errorhandling.test.ts:24:20
|
test/i18n.test.ts > Module @nuxtjs/i18n integration works > language switcher renders:
test/i18n.test.ts#L28
FetchError: [GET] "http://127.0.0.1:3004/": 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/i18n.test.ts:28:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3004/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3004/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/i18n.test.ts > Module @nuxtjs/i18n integration works > switching language works:
test/i18n.test.ts#L32
FetchError: [GET] "http://127.0.0.1:3004/": 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/i18n.test.ts:32:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3004/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3004/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/i18n.test.ts > Module @nuxtjs/i18n integration works > correct menu is rendered:
test/i18n.test.ts#L38
FetchError: [GET] "http://127.0.0.1:3004/": 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/i18n.test.ts:38:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3004/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3004/', 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: '/', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/layout.test.ts > Custom layouts work > renders a page with a custom layout:
test/layout.test.ts#L12
FetchError: [GET] "http://127.0.0.1:3001/node/3": 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/layout.test.ts:12:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://127.0.0.1:3001/node/3', 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: '/node/3', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, constructor: 'Function<Response>', type: 'basic', url: 'http://127.0.0.1:3001/node/3', 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: '/node/3', statusCode: 500, statusMessage: '', message: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
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: 'routeRules is not defined', 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: 'routeRules is not defined', stack: '' }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
ci (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|