Skip to content
Discussion options

You must be logged in to vote

This Stack Overflow answer worked for me:

npm install --save-dev ignore-styles

then run your tests in your package.json via:

"test": "cross-env NODE_ENV=test mocha --require ignore-styles",

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nikos-manolas
Comment options

@jamesmosier
Comment options

@nikos-manolas
Comment options

Answer selected by nikos-manolas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants