From 17592063bb77e69b59a0e750e98a1fc4ef7057e8 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Tue, 21 Jul 2026 12:09:10 +0200 Subject: [PATCH] test: fix SENTRY_DSN validation regex to match errors.infra.mintel.me --- tests/sentry-config.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sentry-config.test.ts b/tests/sentry-config.test.ts index 508787505..d37f1d4c2 100644 --- a/tests/sentry-config.test.ts +++ b/tests/sentry-config.test.ts @@ -15,6 +15,6 @@ describe('Sentry Configuration', () => { // Assert that SENTRY_DSN is defined and not empty expect(envConfig.SENTRY_DSN).toBeDefined(); expect(envConfig.SENTRY_DSN.length).toBeGreaterThan(0); - expect(envConfig.SENTRY_DSN).toMatch(/^https:\/\/.+@glitchtip.infra.mintel.me\/\d+$/); + expect(envConfig.SENTRY_DSN).toMatch(/^https:\/\/.+@(?:glitchtip|errors)\.infra\.mintel\.me\/\d+$/); }); });