From 48efcefba7d5a99675b6b2b624929e143d13390a Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Thu, 3 Jul 2025 10:07:53 +0300 Subject: [PATCH] fix: remove console log from tests (#10292) One thing that can make tests fail is console.out, as it produces IO. --- src/lib/addons/webhook.test.ts | 1 - src/test/e2e/services/playground-service.test.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/src/lib/addons/webhook.test.ts b/src/lib/addons/webhook.test.ts index 630e1e0248..4f7375c284 100644 --- a/src/lib/addons/webhook.test.ts +++ b/src/lib/addons/webhook.test.ts @@ -72,7 +72,6 @@ describe('Webhook integration', () => { .post('/') .matchHeader('Content-Type', 'application/json') .reply(200, (uri, body) => { - console.log(`uri: ${uri} body: ${body}`); callCount++; callBody = body; return { ok: true, status: 200 }; diff --git a/src/test/e2e/services/playground-service.test.ts b/src/test/e2e/services/playground-service.test.ts index 8bb21508f7..73ba25f692 100644 --- a/src/test/e2e/services/playground-service.test.ts +++ b/src/test/e2e/services/playground-service.test.ts @@ -204,10 +204,6 @@ describe('the playground service (e2e)', () => { segments?: SegmentSchema[]; }): Promise => { await seedDatabaseForPlaygroundTest(db, features, env, segments); - - // const activeSegments = await db.stores.segmentStore.getAllFeatureStrategySegments() - // console.log("active segments db seeding", activeSegments) - const projects = '*'; const serviceFeatures = await service.evaluateQuery(