Skip to content

Commit

Permalink
build(deps): lock file maintenance (#574)
Browse files Browse the repository at this point in the history
* build(deps): lock file maintenance

* test: adapt tests for octokit/request.js#667

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>
  • Loading branch information
renovate[bot] and gr2m authored Feb 13, 2024
1 parent c97c234 commit 0c15ee7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
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

0 comments on commit 0c15ee7

Please sign in to comment.