Netflix / falcor

A JavaScript library for efficient data fetching
http://netflix.github.io/falcor
Apache License 2.0
10.48k stars 446 forks source link

Changed tests to Jest #961

Closed jcranendonk closed 5 years ago

jcranendonk commented 5 years ago

Because Jest is Best.

No code changes, so coverage delta is entirely due to differences in the coverage calculations.

Run time is about the same but could be improved by separating out test suites; currently all test cases are pulled in using require() from test/index.js. Doing so would also improve watch-mode speed.

Npm scripts are unchanged, but manual test runs will need a different command (simply jest vs mocha).

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.9%) to 92.538% when pulling e33ce08638fa3fae9d546cf76176d46de6b18d65 on jcranendonk:jest_test into c0cea8518b44b999493da9ccb9c71fc3b2fb313d on Netflix:master.