Skip to content

Conversation

filipomar
Copy link

This PR introduces the ability to configure nyc through environment variables, requiring the maintenance of one less configuration file.

Such as:
NYC_CONFIG="{\"report-dir\":\"coverage/cypress\",\"temp-dir\":\"coverage/temp\"}" npm run your:testing:task

@cypress-app-bot
Copy link

@jennifer-shehane
Copy link
Member

@filipomar Could you add a test for this scenario?

@filipomar
Copy link
Author

@jennifer-shehane sure, just feels like I am about to ask something dumb but:

I attempted to follow the docs instructions, but they seem to be outdated. Are they or am I missing something?

More over, I tried to find a PR akin to the change I'm trying to introduce, do you have a an example I can mirror? Or some basic set of instructions?

@filipomar
Copy link
Author

Hey @jennifer-shehane do you have an update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants