diff --git a/.mocharc.yml b/.mocharc.yml index efa9bf8a87b..4ba8d185851 100644 --- a/.mocharc.yml +++ b/.mocharc.yml @@ -2,3 +2,7 @@ reporter: spec # better to identify failing / slow tests than "dot" ui: bdd # explicitly setting, even though it is mocha default require: - test/mocha-fixtures.js +extension: + - test.js +watch-files: + - test/**/*.js diff --git a/package.json b/package.json index ab7c12064ad..4ae2aa2fb63 100644 --- a/package.json +++ b/package.json @@ -130,14 +130,6 @@ }, "homepage": "https://mongoosejs.com", "browser": "./dist/browser.umd.js", - "mocha": { - "extension": [ - "test.js" - ], - "watch-files": [ - "test/**/*.js" - ] - }, "config": { "mongodbMemoryServer": { "disablePostinstall": true