aboutsummaryrefslogtreecommitdiff
path: root/src/modules/helpers/index.ts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-10-07 10:14:57 +0200
committerGitHub <[email protected]>2023-10-07 10:14:57 +0200
commit57bcd970883ebfa54952a0893bbaaa1c29c3c0d0 (patch)
tree0303c635f4f543f54d6c6829f157bcebd4f9c513 /src/modules/helpers/index.ts
parent93bb134a3d0663cd804679c54926f0042b02b289 (diff)
downloadfaker-57bcd970883ebfa54952a0893bbaaa1c29c3c0d0.tar.xz
faker-57bcd970883ebfa54952a0893bbaaa1c29c3c0d0.zip
infra(unicorn): prefer-date-now (#2419)
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'src/modules/helpers/index.ts')
-rw-r--r--src/modules/helpers/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/helpers/index.ts b/src/modules/helpers/index.ts
index f5e7e177..7ace1e91 100644
--- a/src/modules/helpers/index.ts
+++ b/src/modules/helpers/index.ts
@@ -1181,7 +1181,7 @@ export class SimpleHelpersModule {
} = options;
return uniqueExec.exec(method, args, {
...options,
- startTime: new Date().getTime(),
+ startTime: Date.now(),
maxTime,
maxRetries,
currentIterations: 0,