Demonstrates the following testing concepts:
- Simple BDD styled testing
- Testing asynchronous/promise-based methods
- Testing asynchronous error assertions
- Method stubbing and module proxies
- Method spies
- Testing correct UI/Component rendering
- Testing correct UI/Component behavior
npm install
Run each test suite individually
npm run test test/example-1-simple.js
npm run test test/example-2-async.js
npm run test test/example-3-async-errors.js
npm run test test/example-4-stub.js
npm run test test/example-5-spy.js
Run component rendering tests
npm run testcomponents