Skip to content

Commit fe2e037

Browse files
authored
Merge pull request #2564 from dylancdavis/patch-2
Change wording in part4b.md
2 parents baf90dc + bc7d1aa commit fe2e037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/4/en/part4b.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ When running your tests you may run across the following console warning:
181181
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.
182182

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

186186
```js
187187
module.exports = () => {
@@ -1031,7 +1031,7 @@ Notice that you will have to make similar changes to the code that were made [in
10311031
![Warning to read docs on connecting mongoose to jest](../../images/4/8a.png)
10321032
10331033
[One way](https://stackoverflow.com/questions/50687592/jest-and-mongoose-jest-has-detected-opened-handles) to get rid of this is to
1034-
create to the <i>tests</i> directory a file <i>teardown.js</i> with the following content
1034+
add to the <i>tests</i> directory a file <i>teardown.js</i> with the following content
10351035
10361036
```js
10371037
module.exports = () => {

0 commit comments

Comments
 (0)