Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
30 changes: 15 additions & 15 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ test("auth.hook(): handle 401 due to an exp timestamp in the past", async () =>
expect(global.console.warn.mock.calls.length).toEqual(2);
expect(global.console.warn).toHaveBeenNthCalledWith(
1,
"'Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires.",
"'Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires. - https://docs.github.com/",
);
expect(global.console.warn).toHaveBeenNthCalledWith(
2,
Expand Down Expand Up @@ -1635,7 +1635,7 @@ test("auth.hook(): handle 401 due to an exp timestamp in the past with 800 secon
expect(global.console.warn.mock.calls.length).toEqual(2);
expect(global.console.warn).toHaveBeenNthCalledWith(
1,
"'Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires.",
"'Expiration time' claim ('exp') must be a numeric value representing the future time at which the assertion expires. - https://docs.github.com/",
);
expect(global.console.warn).toHaveBeenNthCalledWith(
2,
Expand Down Expand Up @@ -1708,7 +1708,7 @@ test("auth.hook(): handle 401 due to an iat timestamp in the future", async () =
expect(global.console.warn.mock.calls.length).toEqual(2);
expect(global.console.warn).toHaveBeenNthCalledWith(
1,
"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued.",
"'Issued at' claim ('iat') must be an Integer representing the time that the assertion was issued. - https://docs.github.com/",
);
expect(global.console.warn).toHaveBeenNthCalledWith(
2,
Expand Down