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

update tap to latest to run test locally #401

Closed
wants to merge 3 commits into from
Closed

Conversation

sify21
Copy link

@sify21 sify21 commented Sep 18, 2021

Signed-off-by: 司芳源 sify1221@gmail.com

I can not run tests locally using node version v16.8.0.

  • changed tap's version specifier to allow using latest version.
  • changed t.done() to t.end() in test/functions/coerce.js

There are still 3 failed tests, I'm not familiar with Promise and don't know how to fix them.

 FAIL  test/bin/semver.js 3 failed of 4 821.243ms
 ✖ child test left in queue: t.test help output
 ✖ child test left in queue: t.test sorting and filtering
 ✖ child test left in queue: t.test coercing

References

Related to tapjs/tapjs#746

司芳源 added 2 commits September 18, 2021 15:03
Signed-off-by: 司芳源 <sify1221@gmail.com>
Signed-off-by: 司芳源 <sify1221@gmail.com>
package.json Outdated
@@ -11,7 +11,7 @@
"postpublish": "git push origin --follow-tags"
},
"devDependencies": {
"tap": "^14.10.7"
"tap": ">14.10.7"
Copy link

Choose a reason for hiding this comment

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

You never want to use > - the ^ already means “use the latest of v14.x”

Copy link
Author

@sify21 sify21 Sep 19, 2021

Choose a reason for hiding this comment

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

the issue is not fixed until 15.0.4. I changed it to ^15.0.4

Signed-off-by: 司芳源 <sify1221@gmail.com>
@lukekarrys
Copy link
Member

Closing in favor of #433

@lukekarrys lukekarrys closed this Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants