-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix watch mode test with utimes #9967
Conversation
@@ -47,6 +44,8 @@ afterEach(async () => { | |||
} | |||
}); | |||
|
|||
const getOneSecondAfterMs = (ms: number) => ms / 1000 + 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prettier won't allow me to do (ms / 1000) + 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## master #9967 +/- ##
=======================================
Coverage 63.94% 63.94%
=======================================
Files 293 293
Lines 12488 12488
Branches 3081 3079 -2
=======================================
Hits 7985 7985
Misses 3859 3859
Partials 644 644 Continue to review full report at Codecov.
|
Welp Windows |
Node 14 on windows seems subtly broken: nodejs/node#33166. I'll restart it though, seeing as this PR is specifically for Windows |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
It should be seconds, not ms.
(we cannot pass a
Date
object due to #2549)Test plan
Green CI