Tag: Chai

  • Migrating to Jest test runner

    Migrating to Jest test runner

    I have already shared my comparison of two JavaScript testing solutions where I admitted that I favor Jest over Mocha. Back then, I listed all major differences between those tools summarized with advantages and disadvantages of migrating to Jest: Pros: Simpler API, less boilerplate code. Flexible and easy configuration. Test files executed in isolation. Advanced watch…