Skip to content

Commit

Permalink
Update model.indexes.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 13, 2023
1 parent 7364264 commit c8191da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/model.indexes.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, []);
Expand Down

0 comments on commit c8191da

Please sign in to comment.