Finalize metrics verification and backlog updates
This commit is contained in:
@@ -192,6 +192,27 @@ test("toLeadFunnelCard maps blocked priority to deferred stage with blocker labe
|
||||
assert.equal(card.nextAction, "Zurückstellung prüfen");
|
||||
});
|
||||
|
||||
test("toLeadFunnelCard shows do-not-contact rechecks after the block window", () => {
|
||||
const card = toLeadFunnelCard({
|
||||
id: "lead-recheck",
|
||||
companyName: "Agentur Recheck",
|
||||
priority: "medium",
|
||||
contactStatus: "do_not_contact",
|
||||
blacklistStatus: "clear",
|
||||
outreach: {
|
||||
approvalStatus: "approved",
|
||||
sendStatus: "sent",
|
||||
responseStatus: "no_interest",
|
||||
salesStatus: "do_not_pursue",
|
||||
doNotContactUntil: Date.UTC(2026, 0, 1),
|
||||
},
|
||||
now: Date.UTC(2026, 0, 2),
|
||||
});
|
||||
|
||||
assert.equal(card.stageId, "deferred");
|
||||
assert.equal(card.nextAction, "Erneut prüfen");
|
||||
});
|
||||
|
||||
test("dashboard-model exposes stable lead label helpers for UI mapping", () => {
|
||||
assert.deepEqual(leadPriorityOptions, [
|
||||
"high",
|
||||
|
||||
Reference in New Issue
Block a user