From cc96031e378f5401a1b6366f6dbc862c65ef4937 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Wed, 12 Mar 2025 12:22:26 -0600 Subject: [PATCH] enable rr plugin in vitest --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index aa6d64c09..c427e4e02 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -39,7 +39,7 @@ export default defineConfig((config) => ({ envOnlyMacros(), // it would be really nice to have this enabled in tests, but we'll have to // wait until https://github.com/remix-run/remix/issues/9871 is fixed - MODE === 'test' ? null : reactRouter(), + reactRouter(), MODE === 'production' && process.env.SENTRY_AUTH_TOKEN ? sentryReactRouter(sentryConfig, config) : null,