Skip to content

Replace chai

Tamlyn Rhodes requested to merge yld/pubsweet-client:replace-chai into master

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.

Merge request reports