-
Notifications
You must be signed in to change notification settings - Fork 21
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
Incompatible with chalk@5
#43
Comments
sorry, my mistake, I had |
chalk V4 is declared as a dependency so it should be installed regardless of the version you are using. |
I see. Btw, how about to get rid of |
I get the point. I have zero knowledge on this topic but I would be happy to review a PR removing chalk and hardcoding the tokens. Would it work on windows as well? |
* refactor: ➖ remove `chalk` as dependency fixes: #43
I have chalk@5 in my project. When I run tests with
jest-fail-on-console
enabled — I'm getting errors likeTypeError: chalk.red is not a function
There is also an issue with
package.json
ofjest-fail-on-console
. It doesn't specifychalk
inpeerDependency
section, therefore required for project chalk version is neither validated during install nor installed.update
Just found docs on chalk v5 breaking changes https://github.com/chalk/chalk/releases/tag/v5.0.0 and there are stated
So, just update to
package.json
ofjest-fail-on-console
to include chalk@4 inpeerDependency
would be enoughThe text was updated successfully, but these errors were encountered: