Skip to content

Commit

Permalink
Removed references to CYPRESS_
Browse files Browse the repository at this point in the history
  • Loading branch information
antowaddle committed Dec 18, 2024
1 parent 17e612f commit 39ea4dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
exit 0
else
echo "Spec files for this container: $SPEC_FILES"
export CYPRESS_SPEC_PATTERN="$SPEC_FILES"
echo "Running Cypress with spec pattern: ${CYPRESS_SPEC_PATTERN}"
export SPEC_PATTERN="$SPEC_FILES"
echo "Running Cypress with spec pattern: ${SPEC_PATTERN}"
cd frontend && npm run test:cypress-ci
fi
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 '${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 39ea4dd

Please sign in to comment.