Finalize metrics verification and backlog updates

This commit is contained in:
2026-06-05 21:49:57 +02:00
parent d3928d61c4
commit f069b74b08
15 changed files with 240 additions and 36 deletions

View File

@@ -32,3 +32,12 @@ test("manual sales status mutation updates lead suppression states", () => {
assert.match(outreachSource, /not_interested[\s\S]*outreachPatch\.responseStatus\s*=\s*"no_interest"/);
assert.match(outreachSource, /do_not_pursue[\s\S]*outreachPatch\.doNotContactUntil\s*=\s*now\s*\+\s*DO_NOT_CONTACT_RECHECK_MS/);
});
test("lead funnel query exposes do-not-contact recheck dates", () => {
const leadsSource = readFileSync(
join(process.cwd(), "convex", "leads.ts"),
"utf8",
);
assert.match(leadsSource, /doNotContactUntil:\s*latestOutreach\.doNotContactUntil/);
});