Skip to content

Commit 0799a17

Browse files
committed
fix(browser): update js-core/time mock to use timeStampNow
1 parent d1ba659 commit 0799a17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/browser/test/transport/fetchConfiguration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { FlaggingInitConfiguration } from '../../src/domain/configuration'
44
import { createFlagsConfigurationFetcher } from '../../src/transport/fetchConfiguration'
55

66
jest.mock('@datadog/js-core/time', () => ({
7-
dateNow: jest.fn(() => 1234567890),
7+
timeStampNow: jest.fn(() => 1234567890),
88
}))
99

1010
describe('createFlagsConfigurationFetcher', () => {

0 commit comments

Comments
 (0)