Replace chai
Use Jest's built in expect
instead of chai
.
Also
- remove unnecessary use of
require.requireActual
(only need that if you're using Jest auto mocking) - mock console.log in one test to avoid error shown in test output
Closes #44.
Use Jest's built in expect
instead of chai
.
Also
require.requireActual
(only need that if you're using Jest auto mocking)Closes #44.