Skip to content

Commit

Permalink
fix (server-test): only run files inside server/tests/ (otherwise it …
Browse files Browse the repository at this point in the history
…runs everything, starting mongoDB connection...)
  • Loading branch information
prigaux committed Nov 25, 2024
1 parent 85de0dd commit bb4e17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"server-build-and-test": "npm run server-build && npm run server-test",
"server-start": "nodemon start-server.js",
"server-start:dev": "NODE_ENV=test nodemon --watch server/ --inspect start-server.js",
"server-test": "mocha --require source-map-support/register --recursive server/build/server",
"server-test": "mocha --require source-map-support/register --recursive server/build/server/tests",
"server-test:w": "npm run server-test -- --watch"
},
"engines": {
Expand Down

0 comments on commit bb4e17c

Please sign in to comment.