diff --git a/package.json b/package.json index 9bf6a4551..37c99ead5 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", - "test:e2e": "NODE_ENV=test jest --no-cache --config ./test/jest-e2e.json", + "test:e2e": "NODE_ENV=test jest --config ./test/jest-e2e.json", "test:e2e:watch": "NODE_ENV=test jest --config ./test/jest-e2e.json --watchAll", "migrate": "NODE_ENV=development sequelize db:migrate", "migrate:undo": "NODE_ENV=development sequelize db:migrate:undo", diff --git a/sonar-project.properties b/sonar-project.properties index 89d4a904d..faf886bac 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -14,5 +14,5 @@ sonar.organization=internxt # This parameter must be set to the path of the report file produced by your coverage tool. The path can be either absolute or relative to the project root. sonar.javascript.lcov.reportPaths=./coverage/lcov.info -sonar.coverage.exclusions=**/*.spec.ts, **/seeders/**, **/migrations/** -sonar.cpd.exclusions=**/*.spec.ts, **/seeders/**, **/migrations/** +sonar.coverage.exclusions=**/*.spec.ts, **/seeders/**, **/migrations/**, **/test/__e2e__/**, **/*.e2e-spec.ts +sonar.cpd.exclusions=**/*.spec.ts, **/seeders/**, **/migrations/**, **/test/__e2e__/**, **/*.e2e-spec.ts