Skip to content

Commit

Permalink
Spec file debugger 12
Browse files Browse the repository at this point in the history
  • Loading branch information
antowaddle committed Dec 18, 2024
1 parent 64b47a7 commit 0043c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo "Test Files: $TEST_FILES"
# Generate the list of spec files for this container and trim trailing comma
SPEC_FILES=$(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="$CONTAINER_INDEX" 'NR % 5 == container - 1' | tr '\n' ',')
cd ./frontend && SPEC_FILES=$(echo "$TEST_FILES" | tr ',' '\n' | awk -v container="$CONTAINER_INDEX" 'NR % 5 == container - 1' | sed 's|^frontend/||' | tr '\n' ',' | sed 's/,$//')
# Check if SPEC_FILES is empty
if [ -z "$SPEC_FILES" ]; then
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"test:jest:coverage": "rimraf jest-coverage && jest --silent --coverage --coverageReporters=json --coverageReporters=lcov",
"test:unit": "npm run test:jest -- --silent",
"test:unit-coverage": "run-s test:lint test:type-check test:jest:coverage",
"test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:run -- --headless --project src/__tests__/cypress --spec \\\"${CYPRESS_SPEC_PATTERN}\\\"\"",
"test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:run -- --headless --project src/__tests__/cypress --spec \\\"src/__tests__/cypress/cypress/tests/mocked/${CYPRESS_SPEC_PATTERN}\\\"\"",
"test:cypress-ci:coverage": "npx concurrently -P -k -s first \"npm run cypress:server:build:coverage && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock:coverage\"",
"coverage:merge": "rimraf coverage && istanbul-merge --out coverage/coverage-final.json jest-coverage/coverage-final.json src/__tests__/cypress/coverage/coverage-final.json && nyc report --reporter html -t coverage --report-dir coverage/report && nyc report --reporter json-summary -t coverage --report-dir coverage",
"cypress:open": "cypress open --project src/__tests__/cypress",
Expand Down

0 comments on commit 0043c92

Please sign in to comment.