6 stages of refactoring a Jest test case

An underrated feature of Jest is customizing the way assertion errors that the console displays when tests fail are handled.
原文:https://www.a8q9.cn/en/article/6-stages-of-refactoring-a-jest-test-case-955221.html