Skip to content

Commit d8887f0

Browse files
committed
test: make tests pass
1 parent de45eb1 commit d8887f0

File tree

7 files changed

+28
-27
lines changed

7 files changed

+28
-27
lines changed

package-lock.json

Lines changed: 24 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@
3333
"@types/node": "^20.0.0",
3434
"@types/sinon": "^17.0.0",
3535
"esbuild": "^0.25.0",
36-
"fetch-mock": "^11.0.0",
36+
"fetch-mock": "^12.4.0",
3737
"github-openapi-graphql-query": "^4.3.1",
3838
"glob": "^10.0.0",
3939
"jest": "^29.0.0",
40-
"prettier": "3.5.2",
40+
"prettier": "^3.5.2",
4141
"semantic-release-plugin-update-version-in-files": "^2.0.0",
4242
"sinon": "^19.0.0",
4343
"sort-keys": "^5.0.0",
4444
"string-to-jsdoc-comment": "^1.0.0",
45-
"typescript": "^5.0.0",
46-
"ts-jest": "^29.0.0"
45+
"ts-jest": "^29.0.0",
46+
"typescript": "^5.0.0"
4747
},
4848
"peerDependencies": {
4949
"@octokit/core": "^5"

test/deprecations.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { describe, it } from "vitest";
2-
31
// There are currently no deprecated methods or parameters
42
// Use the tests below as template once there are again.
53

test/issues.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { describe, it } from "vitest";
21
import fetchMock from "fetch-mock";
32
import { Octokit } from "@octokit/core";
43

test/rest-endpoint-methods.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
21
import { Octokit } from "@octokit/core";
32
import fetchMock from "fetch-mock";
43

test/smoke.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { describe, it, expect } from "vitest";
21
import { restEndpointMethods } from "../src/index.ts";
32

43
describe("Smoke test", () => {

test/typescript.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { describe, it, expect } from "vitest";
21
import { Octokit } from "@octokit/core";
32
import { RestEndpointMethodTypes, restEndpointMethods } from "../src/index.ts";
43

0 commit comments

Comments
 (0)