We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 069651e + e36fc48 commit fafa5d5Copy full SHA for fafa5d5
docs/faq.md
@@ -293,7 +293,7 @@ compiled" when I use nodemon / a testing framework?
293
**A**. `mongoose.model('ModelName', schema)` requires 'ModelName' to be
294
unique, so you can access the model by using `mongoose.model('ModelName')`.
295
If you put `mongoose.model('ModelName', schema);` in a
296
-[mocha `beforeEach()` hook](https://mochajs.org/#hooks), this code will
+[mocha `beforeEach()` hook](https://masteringjs.io/tutorials/mocha/beforeeach), this code will
297
attempt to create a new model named 'ModelName' before **every** test,
298
and so you will get an error. Make sure you only create a new model with
299
a given name **once**. If you need to create multiple models with the
0 commit comments