wip
This commit is contained in:
@@ -93,7 +93,8 @@ describe('CheckoutState Value Object', () => {
|
||||
const originalState = state.getValue();
|
||||
expect(originalState).toBe(CheckoutStateEnum.READY);
|
||||
// Verify no setters exist
|
||||
expect(typeof (state as any).setState).toBe('undefined');
|
||||
const mutableState = state as unknown as { setState?: unknown };
|
||||
expect(typeof mutableState.setState).toBe('undefined');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user