Skip to content

Commit 59cc409

Browse files
Fix date
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 291bd84 commit 59cc409

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/providers/go-feature-flag/src/lib/go-feature-flag-provider.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,8 @@ describe('GoFeatureFlagProvider', () => {
10771077
});
10781078

10791079
it('Should apply a scheduled rollout step', async () => {
1080+
jest.useRealTimers();
1081+
jest.setSystemTime(new Date('2023-02-01T00:00:00Z'));
10801082
fetchMock.mockResponseOnce(getConfigurationEndpointResult('scheduled-rollout'), {
10811083
status: 200,
10821084
headers: { 'Content-Type': 'application/json' },

0 commit comments

Comments
 (0)