-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
refactor: migrate typescript #5417
Conversation
How to testgit clone -b re/_test https://github.com/D-Sketon/hexo.git
cd hexo
npm install
npm test |
Pull Request Test Coverage Report for Build 7998818473Details
💛 - Coveralls |
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.
looks great to me
@@ -7,7 +7,8 @@ | |||
"declaration": true, | |||
"esModuleInterop": true, | |||
"types": [ | |||
"node" | |||
"node", | |||
"mocha" |
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.
It looks like it will load @types/mocha
everywhere including src
, I don't know if this is correct and acceptable
@@ -3,4 +3,3 @@ reporter: spec | |||
ui: bdd | |||
full-trace: true | |||
exit: true | |||
parallel: true |
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.
Any reason why parallel
was disabled?
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.
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.
parallel makes it easier to make tests timeout in my experience
What does it do?
Screenshots
Pull request tasks