Skip to content

Commit 9bb144f

Browse files
committed
fix
1 parent ed3f9fc commit 9bb144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/props_validation/value.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('props value validation', () => {
4141
render(<AddToCalendarButton {...(defaultProps as AddToCalendarButtonType)} debug startTime="14:00" endDate="2055-02-25" endTime="15:00" timeZone="Mars/FantasyCity" />);
4242
});
4343

44-
expect(spy).toHaveBeenCalledTimes(2); // 2 times, because the timeZones lib will also throw an error here.
44+
expect(spy).toHaveBeenCalledTimes(3); // 2 times, because the timeZones lib will also throw an error (2x) here.
4545
expect(Array.isArray(spy.mock.lastCall) ? spy.mock.lastCall.join() : '').toContain('invalid time zone given');
4646
});
4747
});

0 commit comments

Comments
 (0)