Skip to content

Commit

Permalink
unit test stability corrections (#3982)
Browse files Browse the repository at this point in the history
* vitest fixes.

* re-install moment-timezone.

* vitest performance and mocking corrections.

* ensure console warnings are treated as failures.

* try skipping troublesome test.

* update msw, make some corrections to aid with test instability.

* increase maxworkers now that test stability increased.

* package updates.
  • Loading branch information
devinleighsmith authored May 1, 2024
1 parent 9d8186f commit 7246ebd
Show file tree
Hide file tree
Showing 14 changed files with 465 additions and 836 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/app-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- run: npm run build --if-present
working-directory: ${{env.working-directory}}

- run: npm run coverage -- --bail 1 --maxWorkers 1 --minWorkers 1
- run: npm run coverage -- --bail 1 --maxWorkers 2 --minWorkers 2
working-directory: ${{env.working-directory}}
env:
REACT_APP_TENANT: MOTI
Expand Down
Loading

0 comments on commit 7246ebd

Please sign in to comment.