From 823db2a17e7b90b7201fea25b913de8275abc6e2 Mon Sep 17 00:00:00 2001 From: eliot-akira Date: Thu, 7 Oct 2021 16:51:17 +0200 Subject: [PATCH] assert.deepStrictEqual instead of deepEqual --- test/persistence.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/persistence.test.js b/test/persistence.test.js index ec35f02..5fa46e1 100755 --- a/test/persistence.test.js +++ b/test/persistence.test.js @@ -282,7 +282,7 @@ describe('Persistence', function () { const treatedData = result.data const indexes = result.indexes Object.keys(indexes).length.should.equal(1) - assert.deepEqual(indexes.test, { fieldName: 'test', unique: true }) + assert.deepStrictEqual(indexes.test, { fieldName: 'test', unique: true }) treatedData.sort(function (a, b) { return a._id - b._id }) treatedData.length.should.equal(2)