Skip to content

Commit

Permalink
Fix: test termination
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Jun 22, 2024
1 parent 30927fa commit 361358a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mongoose-aggregate-paginate-v2/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ beforeAll(async () => {
await mongoose.connection.db.dropDatabase();
let book, books = [];
const date = new Date();
await Author.create({
return Author.create({
name: "Arthur Conan Doyle"
}).then(async function (author) {
for (let i = 1; i <= 100; i++) {
Expand Down

0 comments on commit 361358a

Please sign in to comment.