Finalize metrics verification and backlog updates
This commit is contained in:
@@ -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/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user