Skip to content
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

Merged
merged 2 commits into from
May 4, 2020

Conversation

SimenB
Copy link
Member

@SimenB SimenB commented May 4, 2020

Summary

It should be seconds, not ms.

(we cannot pass a Date object due to #2549)

Test plan

Green CI

@@ -47,6 +44,8 @@ afterEach(async () => {
}
});

const getOneSecondAfterMs = (ms: number) => ms / 1000 + 1;
Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov-io
Copy link

Codecov Report

Merging #9967 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68d12d5...5fd4b8e. Read the comment docs.

@thymikee
Copy link
Collaborator

thymikee commented May 4, 2020

error Command failed with exit code 3221225477

Welp Windows

@SimenB
Copy link
Member Author

SimenB commented May 4, 2020

Node 14 on windows seems subtly broken: nodejs/node#33166. I'll restart it though, seeing as this PR is specifically for Windows

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants