Skip to content

Commit 5792b29

Browse files
committed
chore: fix issue with test workflow
- solve issue with json-summary test mock step - solve issue with visual test step
1 parent 355d072 commit 5792b29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Run tests with mocks
3434
run: |
3535
# Run tests with coverage and capture results in JSON format
36-
npm test -- --coverage.reporter=lcov --coverage.reporter=json --outputFile.json=test-results.json
36+
npm test -- --coverage.reporter=lcov --coverage.reporter=json-summary --reporter=json --outputFile.json=test-results.json
3737
3838
# Extract coverage and test results
3939
{
@@ -71,7 +71,7 @@ jobs:
7171
- name: Run visual tests
7272
run: |
7373
mkdir -p __image_snapshots__
74-
CHROME_PATH="$(which chrome)" xvfb-run --auto-servernum --server-args="-screen 0 1280x800x24" npm run test:visual:ci -- --update --coverage.reporter=json --outputFile.json=visual-test-results.json
74+
CHROME_PATH="$(which chrome)" xvfb-run --auto-servernum --server-args="-screen 0 1280x800x24" npm run test:visual:ci -- --update --reporter=json --outputFile.json=visual-test-results.json
7575
7676
# Show test results and screenshots
7777
{

0 commit comments

Comments
 (0)