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

[Bug] Mocha colors are not visible in v7 #64

Open
1 task
andykais opened this issue Apr 26, 2020 · 0 comments
Open
1 task

[Bug] Mocha colors are not visible in v7 #64

andykais opened this issue Apr 26, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@andykais
Copy link
Contributor

  • I'd be willing to submit the fix

posting as a follow up to #53

Describe the bug
colors for mocha tests are not visible from mochapack.

To Reproduce
running any test under the current verison of mochapack shows this behavior

npx mochapack '{test,src}/**/*.test.ts' --watch --clear-terminal

Screenshots
this screenshot shows that 1. errors are not highlighted and and 2. mocha test checkmarks are not highlighted.
screenshot(228)
You can see that webpack specific output (like the compile time) and the final "Tests completed with 1 failure(s)" are highlighted, so colors are working properly in the terminal

Environment if relevant (please complete the following information):

  • OS: Linux
  • Node version v13.8.0
  • Mochapack version v1.1.15
  • Webpack version 4.43.0
  • Mocha version: v7.1.2

Additional context

Add any other context about the problem here.

running mocha on a simple js test without mochapack shows colors being properly displayed, so I am confident this is an issue with how mochapack displays colors
screenshot(230)

@andykais andykais added the bug Something isn't working label Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant