This commit is contained in:
@@ -84,7 +84,7 @@ void test('CBF15 requires actual project,source and first-exercise conditions wi
|
||||
{ soleProject: '' },
|
||||
{ noOtherBenefits: 'no' },
|
||||
{ assessmentKey: 'stale' },
|
||||
{ startDate: '2025-01-01' },
|
||||
{ startDate: '2027-01-01' },
|
||||
]) {
|
||||
const c = investmentCase();
|
||||
Object.assign(c.b.investmentCredit, patch);
|
||||
@@ -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\/1/);
|
||||
assert.match(annualHtml(d), /IRPC-CBF15\/2/);
|
||||
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\/1/,
|
||||
/IRPC-CBF15\/2/,
|
||||
);
|
||||
const old = internationalCase();
|
||||
assert.equal(calculateAnnual(old.d, old.b).investmentCredit, undefined);
|
||||
|
||||
Reference in New Issue
Block a user