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

test: migrate project to Vitest #3196

Merged
merged 54 commits into from
Feb 3, 2025
Merged

test: migrate project to Vitest #3196

merged 54 commits into from
Feb 3, 2025

Conversation

Lodin
Copy link
Contributor

@Lodin Lodin commented Feb 1, 2025

This PR moves all packages to Vitest. All changes in the tests / source files are related to the various issues happened because of the migration

Lodin added 30 commits January 26, 2025 15:14
# Conflicts:
#	package-lock.json
#	package.json
#	packages/java/tests/gradle/single-module-tests/package.json
#	packages/java/tests/gradle/single-module/package-lock.json
#	packages/java/tests/gradle/single-module/package.json
#	packages/ts/file-router/test/vite-plugin/applyLayouts.spec.ts
#	packages/ts/file-router/test/vite-plugin/collectRoutesFromFS.spec.ts
#	packages/ts/frontend/test/Authentication.test.ts
#	packages/ts/frontend/test/Connect.test.ts
#	packages/ts/frontend/test/SpringCsrfTestUtils.ts
@Lodin Lodin added the hilla Issues related to Hilla label Feb 1, 2025
@Lodin Lodin requested review from platosha, cromoteca and taefi February 1, 2025 17:39
Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.69%. Comparing base (c2d0e1c) to head (3cfabc0).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3196      +/-   ##
==========================================
- Coverage   92.89%   86.69%   -6.20%     
==========================================
  Files          85      120      +35     
  Lines        3334     8155    +4821     
  Branches      801     1244     +443     
==========================================
+ Hits         3097     7070    +3973     
- Misses        184     1071     +887     
+ Partials       53       14      -39     
Flag Coverage Δ
unittests 86.69% <100.00%> (-6.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarqubecloud bot commented Feb 1, 2025

@Lodin Lodin enabled auto-merge (squash) February 1, 2025 18:21
@Lodin Lodin merged commit db5b536 into main Feb 3, 2025
14 of 15 checks passed
@Lodin Lodin deleted the test/vitest-migration branch February 3, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hilla Issues related to Hilla
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants