From 6cea34e2612e5b83446e9a8e6e2cebde7bda21ff Mon Sep 17 00:00:00 2001 From: Farbod M Date: Sat, 5 Aug 2023 22:43:46 -0400 Subject: [PATCH] Update testing config --- server/.nycrc.json | 6 +++--- server/package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/server/.nycrc.json b/server/.nycrc.json index 0502a48f..4f034751 100644 --- a/server/.nycrc.json +++ b/server/.nycrc.json @@ -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, diff --git a/server/package.json b/server/package.json index 8f8e5604..657c142d 100644 --- a/server/package.json +++ b/server/package.json @@ -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" },