Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing with vitest #213

Merged
merged 8 commits into from
Dec 6, 2024
Merged

Testing with vitest #213

merged 8 commits into from
Dec 6, 2024

Conversation

Egge21M
Copy link
Collaborator

@Egge21M Egge21M commented Nov 23, 2024

Description

This PR replaces jest with vitest. Vitest has been proven to be significantly faster, but also supports testing in a browser environment using playwright out of the box.

Changes

  • Replace Jest with Vitest
  • Adjust tests
  • Setup playwright to test in a browser env
  • Adjusted tests to work in a browser env
  • Adjusted pipeline to work with playwright

PR Tasks

  • Open PR
  • run npm run test --> no failing unit tests
  • run npm run format

@Egge21M Egge21M changed the base branch from main to development November 23, 2024 13:54
@Egge21M Egge21M changed the title [WIP] Testing with vitest Testing with vitest Nov 27, 2024
@Egge21M Egge21M marked this pull request as ready for review November 27, 2024 12:27
@Egge21M Egge21M requested a review from gandlafbtc November 27, 2024 12:27
@Egge21M Egge21M merged commit 2bacac4 into development Dec 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant