fix: keep outreach funnel response rollout-compatible

This commit is contained in:
jjbrunton committed 2026-08-10 18:38:39 +01:00
1 parent 1515b3e291
commit 5c57ed337b
6 files changed
+12 -55

No files matched your search

+1 -2
View File
@@ -73,7 +73,6 @@ describe('outreach route', () => {
expect(response.status).toBe(200);
expect(parsed).toMatchObject({
physiqueTargeting: { enabled: true, minScore: 1, maxScore: 6 },
activeCount: 6,
stages: { discovered: 2, screening: 1, ready: 1, sending: 1, retryable: 1 },
outcomes: { sent: 2, rejected: 1 },
@@ -85,7 +84,7 @@ describe('outreach route', () => {
message: 'Prepared opener for Alice',
attractivenessScore: 68,
physiqueScore: 6,
physiqueTargeting: { enabled: true, minScore: 4, maxScore: 7 },
physiqueTargeting: { enabled: true, minScore: 1, maxScore: 6 },
sourceImageUrl: 'https://i.redd.it/post-1.jpg',
strategyId: 'direct-observation',
},