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

the JSON output dir test does not test what we think it does #86

Conversation

jamestalmage
Copy link
Member

Just documenting this.

I suspect this is due to the fact we are running in a container instrumented by NYC

// env: process.env,
// stdio: 'inherit'
// })
// var start = fs.readdirSync(nyc.tmpDirectory()).length
Copy link
Member Author

Choose a reason for hiding this comment

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

This test works even though we never spawn another process.

@novemberborn
Copy link
Contributor

#85 has a fix for this, spawning bin/nyc.js to run the sigint.js file.

@jamestalmage
Copy link
Member Author

#85 has a fix for this, spawning bin/nyc.js to run the sigint.js file.

I took the same approach in #89 😄

@novemberborn
Copy link
Contributor

#104 fixes this.

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