diff options
| author | Shinigami <[email protected]> | 2023-10-07 10:14:57 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-07 10:14:57 +0200 |
| commit | 57bcd970883ebfa54952a0893bbaaa1c29c3c0d0 (patch) | |
| tree | 0303c635f4f543f54d6c6829f157bcebd4f9c513 /test | |
| parent | 93bb134a3d0663cd804679c54926f0042b02b289 (diff) | |
| download | faker-57bcd970883ebfa54952a0893bbaaa1c29c3c0d0.tar.xz faker-57bcd970883ebfa54952a0893bbaaa1c29c3c0d0.zip | |
infra(unicorn): prefer-date-now (#2419)
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/modules/helpers.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/helpers.spec.ts b/test/modules/helpers.spec.ts index 7b709373..df8f00e7 100644 --- a/test/modules/helpers.spec.ts +++ b/test/modules/helpers.spec.ts @@ -1292,7 +1292,7 @@ Try adjusting maxTime or maxRetries parameters for faker.helpers.unique().`) it('should not mutate most of the input option properties', () => { const method = () => 'options-mutate-test'; - const startTime = new Date().getTime(); + const startTime = Date.now(); const maxTime = 49; const maxRetries = 49; const currentIterations = 0; |
