Code examples for testing OC components.
- Uses Jest for unit testing a component's server.js
- Uses Jest + request for acceptance testing a component's API
- Uses Jest + nightmarejs for ui testing a component's UI
In case you have any questions, open an issue.
yarn
yarn test:coverage
npm i
npm run test:coverage
MIT
Husky