From c8191dac3df40b97e34dc75f70410641136eafcc Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 13 Mar 2023 11:49:11 -0400 Subject: [PATCH] Update model.indexes.test.js --- test/model.indexes.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/model.indexes.test.js b/test/model.indexes.test.js index 67eb116b9a5..e785a3f6015 100644 --- a/test/model.indexes.test.js +++ b/test/model.indexes.test.js @@ -673,7 +673,7 @@ describe('model', function() { const TestModel = db.model('Test', Test); TestModel.syncIndexes().then((results1) => { - assert.strictEqual(results1, []); + assert.deepEqual(results1, []); // second call to syncIndexes should return an empty array, representing 0 deleted indexes TestModel.syncIndexes().then((results2) => { assert.deepEqual(results2, []);