update the culprit licenses chnged and ActualPremium

This commit is contained in:
2026-09-19 13:09:28 +03:30
parent 85576e7c5e
commit be06bfe1b5
6 changed files with 36 additions and 6 deletions

View File

@@ -34,6 +34,14 @@ describe("fanavaran hull base claim", () => {
expect(fanavaranHullNestedClaimId({ ClaimNo: 2268 })).toBeNull();
});
it("keeps IsLicenseReplaced null even when ثالث IsLicenseReplacement is 0", () => {
const hull = toFanavaranHullBaseClaimPayload({
PolicyId: 1,
IsLicenseReplacement: 0,
});
expect(hull.IsLicenseReplaced).toBeNull();
});
it("strips ثالث-only fields from a live hull create echo", () => {
const hull = toFanavaranHullBaseClaimPayload({
AccidentCauseId: 6,