{{ message }}
This repository was archived by the owner on Jun 18, 2021. It is now read-only.
Update tap to version 14.3.1#135
Open
richardlau wants to merge 2 commits into
Open
Conversation
When run through `tap` with coverage enabled (`--coverage`) child processes are wrapped and signal handlers installed which prevent some of the tests from exiting. Add workarounds to the affected tests so that the tests can be run with coverage enabled.
Member
Author
Member
Author
|
Also |
Merged
Fixes `npm audit` warning for `handlebars`. Disable `esm` to allow tests to pass on Node.js 13 nightlies.
Member
Author
|
Alternative PR in #136 which keeps Keeping this PR open for the next semver major bump when we can properly raise the minimum Node.js version to 8 (or 10 depending on when we do the bump). |
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes
npm auditwarning forhandlebars:Disable
esmto allow tests to pass on Node.js 13 nightlies. (nodejs/node#28294, standard-things/esm#821).tapnow enables coverage by default and the update has exposed that a handful of tests have issues when run with coverage enabled (the same failures can be seen if run with the non-updatedtapwith--coverage). The main issue is that coverage is wrapping spawned child processes so that:node-reportwhich reports the actual command line).The first commit contains changes to work around these issues. The alternative would be to disable coverage (which isn't as bad as it sounds given how little non-test/demo JavaScript is contained in this project).