chore(deps): update dependency fetch-mock to v12 - abandoned #1579
Annotations
3 errors
Run npm test:
src/methods/delete-token.ts#L24
HttpError: fetch-mock: No response or fallback rule to cover delete to https://api.github.com/applications/0123/token
❯ fetchWrapper node_modules/@octokit/request/dist-bundle/index.js:73:26
❯ hook node_modules/@octokit/auth-oauth-app/dist-bundle/index.js:62:12
❯ deleteTokenWithState src/methods/delete-token.ts:24:9
❯ test/app.test.ts:841:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 500, request: { method: 'DELETE', url: 'https://api.github.com/applications/0123/token', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'octokit-oauth-app.js/0.0.0-development Node.js/20.18.0 (linux; x64) octokit-core.js/6.1.2 Node.js/20.18.0 (linux; x64)', authorization: 'basic [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: { access_token: 'token123' }, request: { fetch: 'Function<bound fetchHandler>', hook: 'Function<bound bound register>' } }, response: undefined }
Caused by: Caused by: Error: fetch-mock: No response or fallback rule to cover delete to https://api.github.com/applications/0123/token
❯ node_modules/fetch-mock/dist/esm/Router.js:119:24
❯ Router.execute node_modules/fetch-mock/dist/esm/Router.js:80:16
❯ FetchMock.fetchHandler node_modules/fetch-mock/dist/esm/FetchMock.js:63:45
❯ fetchWrapper node_modules/@octokit/request/dist-bundle/index.js:47:27
❯ request2 node_modules/@octokit/request/dist-bundle/index.js:160:14
❯ hook node_modules/@octokit/auth-oauth-app/dist-bundle/index.js:62:18
❯ node_modules/before-after-hook/lib/register.js:25:15
|
Run npm test:
src/methods/delete-authorization.ts#L24
HttpError: fetch-mock: No response or fallback rule to cover delete to https://api.github.com/applications/0123/grant
❯ fetchWrapper node_modules/@octokit/request/dist-bundle/index.js:73:26
❯ hook node_modules/@octokit/auth-oauth-app/dist-bundle/index.js:62:12
❯ deleteAuthorizationWithState src/methods/delete-authorization.ts:24:9
❯ test/app.test.ts:900:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 500, request: { method: 'DELETE', url: 'https://api.github.com/applications/0123/grant', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'octokit-oauth-app.js/0.0.0-development Node.js/20.18.0 (linux; x64) octokit-core.js/6.1.2 Node.js/20.18.0 (linux; x64)', authorization: 'basic [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: { access_token: 'token123' }, request: { fetch: 'Function<bound fetchHandler>', hook: 'Function<bound bound register>' } }, response: undefined }
Caused by: Caused by: Error: fetch-mock: No response or fallback rule to cover delete to https://api.github.com/applications/0123/grant
❯ node_modules/fetch-mock/dist/esm/Router.js:119:24
❯ Router.execute node_modules/fetch-mock/dist/esm/Router.js:80:16
❯ FetchMock.fetchHandler node_modules/fetch-mock/dist/esm/FetchMock.js:63:45
❯ fetchWrapper node_modules/@octokit/request/dist-bundle/index.js:47:27
❯ request2 node_modules/@octokit/request/dist-bundle/index.js:160:14
❯ hook node_modules/@octokit/auth-oauth-app/dist-bundle/index.js:62:18
❯ node_modules/before-after-hook/lib/register.js:25:15
|
Run npm test
Process completed with exit code 1.
|
Loading