From 02bd3a2b582d46aa61f502f24e9a8350d6105209 Mon Sep 17 00:00:00 2001 From: Bartosz Nowicki <116367402+bn-pass@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:29:56 +0100 Subject: [PATCH] rename the file containing the deletion module console to deletion.console.ts, add coverage exclusion for it for the Sonar coverage analysis --- .../deletion/console/{console.ts => deletion.console.ts} | 0 nest-cli.json | 2 +- sonar-project.properties | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename apps/server/src/modules/deletion/console/{console.ts => deletion.console.ts} (100%) diff --git a/apps/server/src/modules/deletion/console/console.ts b/apps/server/src/modules/deletion/console/deletion.console.ts similarity index 100% rename from apps/server/src/modules/deletion/console/console.ts rename to apps/server/src/modules/deletion/console/deletion.console.ts diff --git a/nest-cli.json b/nest-cli.json index 1c6d418d1d8..9199961524a 100644 --- a/nest-cli.json +++ b/nest-cli.json @@ -48,7 +48,7 @@ "deletion-console": { "type": "application", "root": "apps/server", - "entryFile": "modules/deletion/console/console", + "entryFile": "modules/deletion/console/deletion.console", "sourceRoot": "apps/server/src", "compilerOptions": { "tsConfigPath": "apps/server/tsconfig.app.json" diff --git a/sonar-project.properties b/sonar-project.properties index 82334f8ff5d..f7a511890ed 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -4,7 +4,7 @@ sonar.sources=. sonar.tests=. sonar.test.inclusions=**/*.spec.ts sonar.exclusions=**/*.js,jest.config.ts,globalSetup.ts,globalTeardown.ts,**/*.app.ts,**/seed-data/*.ts -sonar.coverage.exclusions=**/board-management.uc.ts,**/*.module.ts,**/*.factory.ts +sonar.coverage.exclusions=**/board-management.uc.ts,**/*.module.ts,**/*.factory.ts,deletion.console.ts sonar.cpd.exclusions=**/controller/dto/*.ts sonar.javascript.lcov.reportPaths=merged-lcov.info sonar.typescript.tsconfigPaths=tsconfig.json,src/apps/server/tsconfig.app.json