|
|
@@ -14,7 +14,7 @@ describe('build()', () => {
|
|
|
}
|
|
|
|
|
|
jest.useFakeTimers('modern');
|
|
|
- jest.setSystemTime(new Date(2020, 3, 1));
|
|
|
+ jest.setSystemTime(1585692000000);
|
|
|
|
|
|
const options = UrlOptionsBuilder.build(args)
|
|
|
expect(options.pop()).toEqual('1585692000000')
|