Ressources

  • https://www.airpair.com/javascript/posts/unit-testing-ajax-requests-with-mocha
  • https://www.sitepoint.com/unit-test-javascript-mocha-chai/
  • https://mochajs.org/#getting-started (Mocha reference)
  • https://alistapart.com/article/writing-testable-javascript