diff --git a/alfa-client/package.json b/alfa-client/package.json index c107e0817ae1d5a992d7d42b42a4c1404ea6cb87..6887af44edc95ba1866a6efef61c5ca78963cdbd 100644 --- a/alfa-client/package.json +++ b/alfa-client/package.json @@ -10,7 +10,7 @@ "start-for-screenreader": "nx run alfa:serve --host 192.168.178.20 --port 4300 --disable-host-check --verbose", "start:devbe": "nx run alfa:serve --port 4300 --disable-host-check --proxy-config proxy.dev.conf.json --verbose", "build": "nx run alfa:build", - "test": "nx run-many --target=test --parallel 8 -- --runInBand", + "test": "nx affected --target=test --parallel 8 -- --runInBand", "test:cov": "jest --coverage", "test:lib": "nx test ${npm_config_lib} --watchAll", "test:debug:lib": "nx test ${npm_config_lib} --detectOpenHandles --watchAll", @@ -18,8 +18,8 @@ "ci-build-admin": "nx container admin && cp -r dist/ apps/admin/", "ci-prodBuild": "nx run alfa:build --outputHashing=all --configuration production", "ci-prodBuild-admin": "nx container admin && cp -r dist/ apps/admin/", - "ci-test": "nx run-many --target=test --parallel 8 -- --runInBand", - "ci-sonar": "nx run-many --target=test --parallel 8 -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && npx sonar-scanner", + "ci-test": "nx affected --target=test --parallel 12 -- --runInBand --color=false", + "ci-sonar": "nx affected --target=test --parallel 12 -- --runInBand --color=false --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && npx sonar-scanner", "lint": "nx workspace-lint && nx lint", "affected:apps": "nx affected:apps", "affected:libs": "nx affected:libs", @@ -159,4 +159,4 @@ "ts-node": "10.9.1", "typescript": "5.4.5" } -} +} \ No newline at end of file