You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When run in a console that supports colors (which is most these days), Jest will output the necessary escape sequences to color the output. That isn't getting stripped or interpreted in the HTML output at the moment which makes output like the following completely unreadable:
Error: [2mexpect([22m[31mreceived[39m[2m).[22mtoHaveLength[2m([22m[32mexpected[39m[2m)[22m
Expected length: [32m4[39m
Received length: [31m0[39m
Received array: [31m[][39m
A simple way to solve this would be with a library that can convert the colors to HTML or strip them completely, such as this one which can do either. This could be a configurable option as well.
The text was updated successfully, but these errors were encountered:
When run in a console that supports colors (which is most these days), Jest will output the necessary escape sequences to color the output. That isn't getting stripped or interpreted in the HTML output at the moment which makes output like the following completely unreadable:
A simple way to solve this would be with a library that can convert the colors to HTML or strip them completely, such as this one which can do either. This could be a configurable option as well.
The text was updated successfully, but these errors were encountered: