I'm running Jest to test a Create React App in a Git-Bash terminal, on Windows 7. It's running the tests as it should; but it isn't displaying the PASS/FAIL messages with color enhancements.
Also, when it asks for a 'u' to update snapshots, it doesn't accept the u. Control-C'ing after trying the u, I see the u as the first command once Jest has stopped running.
Has anyone seen these behaviors before? Any idea how to fix?
Thanks for your help.
答案 0 :(得分:0)
将[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://tempuri.org/")]
添加到您的export FORCE_COLOR=true
或.bash_profile
中。
来源:https://github.com/facebook/jest/issues/3877#issuecomment-422088942