Skip to content

Commit

Permalink
Update testing config
Browse files Browse the repository at this point in the history
  • Loading branch information
Freeassassin committed Aug 6, 2023
1 parent 8867cd2 commit 6cea34e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions server/.nycrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"all": false,
"include": [
"models/*.js",
"services/*.js",
"routes/*.js"
"src/models/*.js",
"src/services/*.js",
"src/routes/*.js"
],
"check-coverage": true,
"branches": 80,
Expand Down
4 changes: 2 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"format": "prettier --write \"**/*.+(js|json)\"",
"lint": "eslint src",
"test": "nyc --reporter=lcov --reporter=text --check-coverage=true mocha --recursive --exit",
"test:actions": "nyc --reporter=text-summary --check-coverage=true mocha --recursive --exit",
"test": "nyc --reporter=lcov --reporter=text mocha --recursive --exit",
"test:actions": "nyc --reporter=text-summary mocha --recursive --exit",
"start:dev": "set NODE_ENV=development && nodemon -L src/server.js",
"start": "set NODE_ENV=production && node src/server.js"
},
Expand Down

0 comments on commit 6cea34e

Please sign in to comment.