Skip to content

Commit

Permalink
Merge pull request #13948 from hasezoey/mochaconfig
Browse files Browse the repository at this point in the history
chore: move mocha config from package.json to mocharc
  • Loading branch information
vkarpov15 authored Oct 9, 2023
2 parents 17c4ec3 + 6401884 commit 9417424
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .mocharc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9417424

Please sign in to comment.