dcramer / peated

https://peated.com
Apache License 2.0
64 stars 13 forks source link

Upgrade vitest to 2.x #223

Closed dcramer closed 1 month ago

dcramer commented 1 month ago

Disables Sentry in the test env as its causing issues (likely due to ESM) where dependencies report as undefined after import.

This also adjusts our server package to be ESM.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 42.85714% with 12 lines in your changes missing coverage. Please review.

Project coverage is 74.60%. Comparing base (c64d1e4) to head (16e1c3e). Report is 1 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines Patch % Lines
apps/server/src/sentry.ts 9.09% 10 Missing :warning:
apps/server/src/config.ts 66.66% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #223 +/- ## ========================================== - Coverage 76.31% 74.60% -1.71% ========================================== Files 298 300 +2 Lines 22286 17990 -4296 Branches 1918 1916 -2 ========================================== - Hits 17007 13421 -3586 + Misses 5279 4569 -710 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.