diff --git a/test/integration/timeout.integration.test.mjs b/test/integration/timeout.integration.test.mjs index ff599332a..d9e1f02a0 100644 --- a/test/integration/timeout.integration.test.mjs +++ b/test/integration/timeout.integration.test.mjs @@ -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( diff --git a/test/unit/sessionTokenManager.test.mjs b/test/unit/sessionTokenManager.test.mjs index 55b534048..c51379543 100644 --- a/test/unit/sessionTokenManager.test.mjs +++ b/test/unit/sessionTokenManager.test.mjs @@ -78,7 +78,7 @@ describe('SessionTokenManager tests', () => { ); sendRequestStubFn.returnsArg(0); const parameters = manager.requestToken(); - assert.strictEqual(parameters, expectedParameters); + assert.deepStrictEqual(parameters, expectedParameters); }); });