fix: Don’t pass response to AutoRouter missing handler #437
Annotations
2 errors and 2 warnings
src/AutoRouter.spec.ts#L63
AssertionError: expected "spy" to be called with arguments: [ …(1) ]
Received:
1st spy call:
Array [
- Request {
- "proxy": bound Request {
+ bound Request {
"proxy": [Circular],
- "query": Object {},
- Symbol(realm): Object {
- "settingsObject": Object {
- "baseUrl": undefined,
- "origin": undefined,
- "policyContainer": Object {
- "referrerPolicy": "strict-origin-when-cross-origin",
- },
- },
- },
- Symbol(dispatcher): undefined,
- Symbol(state): Object {
- "body": null,
- "cache": "default",
- "client": Object {
- "baseUrl": undefined,
- "origin": undefined,
- "policyContainer": Object {
- "referrerPolicy": "strict-origin-when-cross-origin",
- },
- },
- "credentials": "same-origin",
- "cryptoGraphicsNonceMetadata": "",
- "destination": "",
- "done": false,
- "headersList": HeadersList {
- "cookies": null,
- Symbol(headers map): Map {},
- Symbol(headers map sorted): Array [],
- },
- "historyNavigation": false,
- "initiator": "",
- "integrity": "",
- "keepalive": false,
- "localURLsOnly": false,
- "method": "GET",
- "mode": "cors",
- "origin": "client",
- "parserMetadata": "",
- "policyContainer": "client",
- "preventNoCacheCacheControlHeaderModification": false,
- "priority": null,
- "redirect": "follow",
- "redirectCount": 0,
- "referrer": "client",
- "referrerPolicy": "",
- "reloadNavigation": false,
- "replacesClientId": "",
- "reservedClient": null,
- "responseTainting": "basic",
- "serviceWorkers": "all",
- "taintedOrigin": false,
- "timingAllowFailed": false,
- "unsafeRequest": false,
- "url": "https://example.com/",
- "urlList": Array [
- "https://example.com/",
- ],
- "useCORSPreflightFlag": false,
- "useCredentials": false,
- "userActivation": false,
- "window": "client",
- },
- Symbol(signal): AbortSignal {
- Symbol(realm): Object {
- "settingsObject": Object {
- "baseUrl": undefined,
- "origin": undefined,
- "policyContainer": Object {
- "referrerPolicy": "strict-origin-when-cross-origin",
- },
- },
- },
- },
- Symbol(headers): Headers {
- Symbol(headers list): HeadersList {
- "cookies": null,
- Symbol(headers map): Map {},
- Symbol(headers map sorted): Array [],
- },
- Symbol(guard): "request",
- Symbol(realm): Object {
- "settingsObject": Object {
- "baseUrl": undefined,
- "origin": undefined,
- "policyContainer": Object {
- "referrerPolicy": "strict-origin-when-cross-origin",
- },
- },
- },
- },
- },
"query": Object {},
Symbol(realm): Object {
"settingsObject": Object {
"baseUrl": undefined,
"origin": undefined,
"policyContainer": Object {
"referrerPolicy": "strict-origin-when-cross-origin",
},
},
},
Symbol(dispatcher): undefined,
Symbol(state): Object {
"body": null,
"cache": "default",
"client": Object {
"baseUrl": undefined,
"origin": undefined,
"policyContainer": Object {
"referrerPolicy": "strict-origin-when-cross-origin",
},
},
"credentials": "same-origin",
"cryptoGraphicsNonceMetadata": "",
"destination": "",
"done": false,
"headersList": HeadersList {
"cookies": null,
Symbol(headers map): Map {},
Symbol(headers map sorted): Array [],
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. 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