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

Test: #5555 from tap to node #213

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SamSalvatico
Copy link

Checklist

Moving the tests from tap to the node test runner, based on what requested in the following issue
Fastify #5555

@@ -29,9 +29,9 @@
"build": "npm-run-all build:clean build:cjs build:esm build:post build:test",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"test:tap": "tap",
"test:node": "node --test test/index.js",
Copy link
Member

Choose a reason for hiding this comment

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

can you add c8 for coverage

Suggested change
"test:node": "node --test test/index.js",
"test:node": "c8 --100 node --test",

Copy link
Author

Choose a reason for hiding this comment

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

The coverage is lower than 100, so it causes check failure
image

test/index.js Show resolved Hide resolved
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.

2 participants