feat: carry documented investment credits within original project window
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-10 16:17:48 +02:00
parent d216830b06
commit 7476dc3430
14 changed files with 827 additions and 30 deletions
@@ -188,7 +188,7 @@ void test('CBF15 calculation-save-recovery-HTML and dossier reports retain sourc
numerator: '200',
denominator: '1',
});
assert.match(annualHtml(d), /IRPC-CBF15\/2/);
assert.match(annualHtml(d), /IRPC-CBF15\/3/);
assert.match(
JSON.stringify(
createProjectDossierReport(d, {
@@ -196,7 +196,7 @@ void test('CBF15 calculation-save-recovery-HTML and dossier reports retain sourc
generatedAt: '2026-11-10T19:00:00+02:00',
}),
),
/IRPC-CBF15\/2/,
/IRPC-CBF15\/3/,
);
const old = internationalCase();
assert.equal(calculateAnnual(old.d, old.b).investmentCredit, undefined);