Skip to content

Commit

Permalink
docs: db.close no longer necessary (#8333)
Browse files Browse the repository at this point in the history
  • Loading branch information
rick-shar-ww authored Feb 24, 2022
1 parent 1cb30a1 commit 4dc9db2
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion docs/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-25.x/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-26.x/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-27.0/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-27.1/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-27.2/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-27.4/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

it('should insert a doc into collection', async () => {
Expand Down
1 change: 0 additions & 1 deletion website/versioned_docs/version-27.5/MongoDB.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ describe('insert', () => {

afterAll(async () => {
await connection.close();
await db.close();
});

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

0 comments on commit 4dc9db2

Please sign in to comment.