Skip to content

Commit

Permalink
Tweaking test to remove deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
makinde committed Apr 7, 2020
1 parent 5a7c478 commit 8a7f2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test('Only a real key in selection w/ lean virtuals', async t=> {
});

test.after.always(async () => {
await Model.remove({});
await Model.deleteMany({});
await mongoose.disconnect();
await mongoServer.stop();
});

0 comments on commit 8a7f2db

Please sign in to comment.