Skip to content

Commit

Permalink
Test: removed after all hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Jun 22, 2024
1 parent 8f157ce commit 39f80d3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions plugins/mongoose-aggregate-paginate-v2/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ jest.setTimeout(120000)

const execute = promisify(exec);

const connectToDatabase = async () => {

};

const AuthorSchema = new mongoose.Schema({
name: String
});
Expand Down Expand Up @@ -269,12 +265,4 @@ describe("mongoose-paginate", function () {
});
});
});

afterAll(async function () {
await mongoose.connection.db.dropDatabase();
});

afterAll(async function () {
await mongoose.disconnect();
});
});

0 comments on commit 39f80d3

Please sign in to comment.