knockout / tko

🥊 Technical Knockout – The Monorepo for Knockout.js (4.0+)
http://www.tko.io
Other
274 stars 34 forks source link

Change the testing framework to jest #78

Open brianmhunt opened 6 years ago

brianmhunt commented 6 years ago

Having evaluated the options and @caseyWebb 's comment suggesting Jest, I think it's a great option, for a couple reasons:

  1. It handles async code smartly, eliminating pesky race conditions
  2. jest-codemods does much migration automatically, particularly easily for Mocha
  3. Once homogenized we can have a single test-runner, which should dramatically speed things up
  4. It looks to be based on jasmine, so a bunch of legacy tests should be straightforward

Thanks @caseyWebb for the suggestion to look into Jest. It looks to be a smart move.