Skip to content

Commit 49ce914

Browse files
committed
fix: dont drop nonexistant collections
1 parent 8b40673 commit 49ce914

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/integration/crud/crud_api.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -903,10 +903,6 @@ describe('CRUD API', function () {
903903
collection = client.db().collection('updateOneTest');
904904
});
905905

906-
afterEach(async function () {
907-
await collection.drop();
908-
});
909-
910906
context(
911907
'when including an update with all undefined atomic operators ignoring undefined',
912908
function () {
@@ -932,10 +928,6 @@ describe('CRUD API', function () {
932928
collection = client.db().collection('updateManyTest');
933929
});
934930

935-
afterEach(async function () {
936-
await collection.drop();
937-
});
938-
939931
context(
940932
'when including an update with all undefined atomic operators ignoring undefined',
941933
function () {
@@ -961,10 +953,6 @@ describe('CRUD API', function () {
961953
collection = client.db().collection('findAndModifyTest');
962954
});
963955

964-
afterEach(async function () {
965-
await collection.drop();
966-
});
967-
968956
context(
969957
'when including an update with all undefined atomic operators ignoring undefined',
970958
function () {

0 commit comments

Comments
 (0)