wip
This commit is contained in:
@@ -159,7 +159,8 @@ describe('CheckoutPrice Value Object', () => {
|
||||
const amount = price.getAmount();
|
||||
expect(amount).toBe(5.00);
|
||||
// Verify no setters exist
|
||||
expect(typeof (price as any).setAmount).toBe('undefined');
|
||||
const mutablePrice = price as unknown as { setAmount?: unknown };
|
||||
expect(typeof mutablePrice.setAmount).toBe('undefined');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user