Skip to content

Commit

Permalink
build(deps): switch to fetch-mock v11
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Nov 5, 2024
1 parent c0931e6 commit 49e6fed
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 137 deletions.
176 changes: 52 additions & 124 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@types/node": "^20.0.0",
"@types/sinonjs__fake-timers": "^8.0.0",
"esbuild": "^0.20.0",
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1",
"fetch-mock": "^11.0.0",
"glob": "^10.2.5",
"jest": "^29.0.0",
"prettier": "3.2.5",
Expand Down
4 changes: 2 additions & 2 deletions test/deprecations.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { request } from "@octokit/request";
import fetchMock, { MockMatcherFunction } from "fetch-mock";
import fetchMock from "fetch-mock";
import { Deprecation } from "deprecation";

import { createAppAuth } from "../src/index.ts";

describe("deprecations", () => {
test("auth({ type: 'oauth' }) - #263", async () => {
const matchCreateOAuthAccessToken: MockMatcherFunction = (
const matchCreateOAuthAccessToken: fetchMock.MockMatcherFunction = (
url,
{ body, headers },
) => {
Expand Down
Loading

0 comments on commit 49e6fed

Please sign in to comment.