From af3dd1807a4b93ac82baa39d7c8db27b5cbcce58 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 5 Jul 2023 16:43:59 -0400 Subject: [PATCH] try this instead --- packages/remix/test/integration/app_v1/entry.client.tsx | 2 +- packages/remix/test/integration/app_v1/entry.server.tsx | 2 +- packages/remix/test/integration/app_v2/entry.server.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/remix/test/integration/app_v1/entry.client.tsx b/packages/remix/test/integration/app_v1/entry.client.tsx index 7bdce7b47750..f9cfc14f2507 100644 --- a/packages/remix/test/integration/app_v1/entry.client.tsx +++ b/packages/remix/test/integration/app_v1/entry.client.tsx @@ -5,7 +5,7 @@ import { useEffect } from 'react'; Sentry.init({ dsn: 'https://public@dsn.ingest.sentry.io/1337', - tracesSampler: () => true, + tracesSampleRate: 1, integrations: [ new Sentry.BrowserTracing({ routingInstrumentation: Sentry.remixRouterInstrumentation(useEffect, useLocation, useMatches), diff --git a/packages/remix/test/integration/app_v1/entry.server.tsx b/packages/remix/test/integration/app_v1/entry.server.tsx index dbaf7ff52753..c68d0dc3b07c 100644 --- a/packages/remix/test/integration/app_v1/entry.server.tsx +++ b/packages/remix/test/integration/app_v1/entry.server.tsx @@ -6,7 +6,7 @@ import * as Sentry from '@sentry/remix'; Sentry.init({ dsn: 'https://public@dsn.ingest.sentry.io/1337', tracesSampleRate: 1, - tracePropagationTargets: [/^(?!.*routes).*$/], + tracePropagationTargets: [/^(?!.*^\/).*$/], // Disabling to test series of envelopes deterministically. autoSessionTracking: false, }); diff --git a/packages/remix/test/integration/app_v2/entry.server.tsx b/packages/remix/test/integration/app_v2/entry.server.tsx index dbaf7ff52753..c68d0dc3b07c 100644 --- a/packages/remix/test/integration/app_v2/entry.server.tsx +++ b/packages/remix/test/integration/app_v2/entry.server.tsx @@ -6,7 +6,7 @@ import * as Sentry from '@sentry/remix'; Sentry.init({ dsn: 'https://public@dsn.ingest.sentry.io/1337', tracesSampleRate: 1, - tracePropagationTargets: [/^(?!.*routes).*$/], + tracePropagationTargets: [/^(?!.*^\/).*$/], // Disabling to test series of envelopes deterministically. autoSessionTracking: false, });