Skip to content

Commit

Permalink
fix: missed renames
Browse files Browse the repository at this point in the history
  • Loading branch information
eiri committed Sep 18, 2024
1 parent 375b78d commit 3e19f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/timeout.integration.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('Default timeout config tests', () => {
assert.ok(spyAuth.calledOnce);
assert.ok(getTokenStubFn.calledOnce);
// authenticate is called with default timeout
sinon.assert.calledWith(spyAuth, match.has('timeout', expValue));
sinon.assert.calledWith(spyAuth, sinon.match.has('timeout', expValue));
// server request is called with default timeout
assert.ok(sendRequestStubFn.calledOnce);
sinon.assert.calledWith(
Expand Down
2 changes: 1 addition & 1 deletion test/unit/sessionTokenManager.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('SessionTokenManager tests', () => {
);
sendRequestStubFn.returnsArg(0);
const parameters = manager.requestToken();
assert.strictEqual(parameters, expectedParameters);
assert.deepStrictEqual(parameters, expectedParameters);
});
});

Expand Down

0 comments on commit 3e19f54

Please sign in to comment.