Skip to content

Commit 4dc9db2

Browse files
authored
docs: db.close no longer necessary (#8333)
1 parent 1cb30a1 commit 4dc9db2

File tree

8 files changed

+0
-8
lines changed

8 files changed

+0
-8
lines changed

docs/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-25.x/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-26.x/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-27.0/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-27.1/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-27.2/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-27.4/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

website/versioned_docs/version-27.5/MongoDB.md

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ describe('insert', () => {
4242

4343
afterAll(async () => {
4444
await connection.close();
45-
await db.close();
4645
});
4746

4847
it('should insert a doc into collection', async () => {

0 commit comments

Comments
 (0)