Skip to content

Commit a28e590

Browse files
authored
Update part4b.md
I do not have this problem with Mongoose 7.0.3
1 parent 7aa385d commit a28e590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/4/en/part4b.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ When running your tests you may run across the following console warning:
178178

179179
![jest console warning about not exiting](../../images/4/8.png)
180180

181-
The problem is quite likely caused by the Mongoose version 6.x, the problem does not appear when version 5.x is used. [Mongoose documentation](https://mongoosejs.com/docs/jest.html) does not recommend testing Mongoose applications with Jest.
181+
The problem is quite likely caused by the Mongoose version 6.x, the problem does not appear when version 5.x or 7.x is used. [Mongoose documentation](https://mongoosejs.com/docs/jest.html) does not recommend testing Mongoose applications with Jest.
182182

183183
[One way](https://stackoverflow.com/questions/50687592/jest-and-mongoose-jest-has-detected-opened-handles) to get rid of this is to
184184
add to the directory <i>tests</i> a file <i>teardown.js</i> with the following content

0 commit comments

Comments
 (0)