-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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: update tap@19 #5471
chore: update tap@19 #5471
Conversation
Unless things have changed, it's a little bit more involved https://github.com/fastify/fastify/pull/4978/files |
Tested locally, it only requires minimal changes. |
|
After testing on removing the external |
Are macos tests flaky? |
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.
Seems like only macOS fails with a heap limit error
Do you know why macOS unit test CI could be failing? @climba03003 |
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.
Can you update to tap@19 as well?
@@ -11,24 +11,24 @@ | |||
"benchmark:parser": "concurrently -k -s first \"node ./examples/benchmark/parser.js\" \"autocannon -c 100 -d 30 -p 10 -i ./examples/benchmark/body.json -H \"content-type:application/jsoff\" -m POST localhost:3000/\"", | |||
"build:validation": "node build/build-error-serializer.js && node build/build-validation.js", | |||
"coverage": "npm run unit -- --coverage-report=html", | |||
"coverage:ci": "c8 --reporter=lcov tap --coverage-report=html --no-browser --no-check-coverage", | |||
"coverage:ci-check-coverage": "c8 check-coverage --branches 100 --functions 100 --lines 100 --statements 100", | |||
"coverage:ci": "tap --coverage-report=html --coverage-report=lcov --allow-incomplete-coverage", |
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.
Unfortunately, we no-longer able to stop opening browser.
tapjs/tapjs#978
"coverage:ci": "c8 --reporter=lcov tap --coverage-report=html --no-browser --no-check-coverage", | ||
"coverage:ci-check-coverage": "c8 check-coverage --branches 100 --functions 100 --lines 100 --statements 100", | ||
"coverage:ci": "tap --coverage-report=html --coverage-report=lcov --allow-incomplete-coverage", | ||
"coverage:ci-check-coverage": "tap replay", |
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.
Replay command will fail if threshold is not meet
See https://github.com/fastify/fastify/actions/runs/9362073855 for demostration
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.
istanbul-ignore
s don't do anything anymore no?
Please make sure to remove them
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, thanks!
Checklist
npm run test
andnpm run benchmark
and the Code of conduct