Hegwin.Me

寓形宇内复几时?曷不委心任去留?胡为乎遑遑欲何之?

测试React应用程序

Main things:

  • mocha - Test Frame
  • chai - provides TDD/BDD syntax (should, expect ) for testing
  • enzyme - procides component renderer such as shallow and mount, and DOM manipulation and traversal
  • sinon - provides mocks and spies

Tags:

Posted on: 2016-09-28

Back