You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace two instances of the phrase "create to the tests directory a file" with "add to the tests directory a file".
While "create to the directory" can be understood, it is an uncommon (and potentially incorrect) wording. Instead, the phrase "add to the directory" makes more sense. Alternatively, "create in the directory" would also make sense.
Copy file name to clipboardExpand all lines: src/content/4/en/part4b.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -181,7 +181,7 @@ When running your tests you may run across the following console warning:
181
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.
182
182
183
183
[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
185
185
186
186
```js
187
187
module.exports= () => {
@@ -1031,7 +1031,7 @@ Notice that you will have to make similar changes to the code that were made [in
1031
1031

1032
1032
1033
1033
[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
0 commit comments