getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
8.01k stars 1.58k forks source link

chore(replay): Use `vitest run` for replay test run #14379

Closed mydea closed 1 day ago

mydea commented 2 days ago

When running tests for the monorepo locally, replay tests can hang/may not resolve because we run them in watch mode by default. You can still use yarn test:watch if you want watch mode anyhow. We use vitest run everywhere else we have vitest already.

codecov[bot] commented 2 days ago

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
486 1 485 129
View the top 1 failed tests by shortest run time > > ```python > client-app-routing-instrumentation.test.ts Creates a navigation transaction for app router routes > ``` > >
Stack Traces | 30s run time > > > > > ```python > > client-app-routing-instrumentation.test.ts:19:5 Creates a navigation transaction for app router routes > > ``` > >

To view more test analytics, go to the Test Analytics Dashboard Got feedback? Let us know on Github