From 3e19f54ae55b9e53f486e2729400a8f5a6caa3c3 Mon Sep 17 00:00:00 2001 From: Eric Avdey Date: Wed, 18 Sep 2024 09:10:24 -0300 Subject: [PATCH] fix: missed renames --- test/integration/timeout.integration.test.mjs | 2 +- test/unit/sessionTokenManager.test.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/timeout.integration.test.mjs b/test/integration/timeout.integration.test.mjs index ff599332..d9e1f02a 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 55b53404..c5137954 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); }); });