Skip to content

test: re-activate more tests and convert them to typescript #457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Jul 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
activate one more smoke test
  • Loading branch information
Uzlopak committed Jul 18, 2024
commit ebb818a5b79ca8cbadb9d6adfa3c1a2e40dc4b4c
6 changes: 3 additions & 3 deletions test/integration/smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe("Smoke tests", () => {
expect(octokit.paginate).toBeInstanceOf(Function);
});

it.skip("@octokit/plugin-request-log", () => {
it("@octokit/plugin-request-log", () => {
const mock = fetchMock
.sandbox()
.getOnce("path:/", { status: 200, body: {} })
Expand Down Expand Up @@ -92,9 +92,9 @@ describe("Smoke tests", () => {
},
() => {
expect(consoleStub.debug.mock.calls.length).toEqual(2);
expect(consoleStub.info.mock.calls.length).toEqual(2);
expect(consoleStub.info.mock.calls.length).toEqual(1);
expect(consoleStub.warn.mock.calls.length).toEqual(0);
expect(consoleStub.error.mock.calls.length).toEqual(0);
expect(consoleStub.error.mock.calls.length).toEqual(1);
},
);
});
Expand Down