Skip to content

Commit fafa5d5

Browse files
committed
Merge branch 'master' into 7.5
2 parents 069651e + e36fc48 commit fafa5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ compiled" when I use nodemon / a testing framework?
293293
**A**. `mongoose.model('ModelName', schema)` requires 'ModelName' to be
294294
unique, so you can access the model by using `mongoose.model('ModelName')`.
295295
If you put `mongoose.model('ModelName', schema);` in a
296-
[mocha `beforeEach()` hook](https://mochajs.org/#hooks), this code will
296+
[mocha `beforeEach()` hook](https://masteringjs.io/tutorials/mocha/beforeeach), this code will
297297
attempt to create a new model named 'ModelName' before **every** test,
298298
and so you will get an error. Make sure you only create a new model with
299299
a given name **once**. If you need to create multiple models with the

0 commit comments

Comments
 (0)