Skip to content

Conversation

@D-Sketon
Copy link
Member

@D-Sketon D-Sketon commented Feb 7, 2024

What does it do?

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.
@github-actions
Copy link

github-actions bot commented Feb 7, 2024

How to test

git clone -b re/_test https://github.com/D-Sketon/hexo.git
cd hexo
npm install
npm test
@coveralls
Copy link

coveralls commented Feb 7, 2024

Pull Request Test Coverage Report for Build 7998818473

Details

  • 75 of 75 (100.0%) changed or added relevant lines in 27 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.53%

Totals Coverage Status
Change from base Build 7992247079: 0.0%
Covered Lines: 9325
Relevant Lines: 9369

💛 - Coveralls
uiolee
uiolee previously approved these changes Feb 7, 2024
Copy link
Member

@uiolee uiolee left a 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

"types": [
"node"
"node",
"mocha"
Copy link
Member

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

ui: bdd
full-trace: true
exit: true
parallel: true
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've tried keeping parallel, but then tests containing async on my computer throw exceptions, and I don't know why
image
image

Copy link
Member

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

@uiolee uiolee merged commit 3c7729d into hexojs:master Mar 3, 2024
@D-Sketon D-Sketon mentioned this pull request Mar 3, 2024
2 tasks
@uiolee uiolee mentioned this pull request Jan 9, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants