/oc-testing

Code examples for testing OC components

Primary LanguageJavaScriptMIT LicenseMIT

oc-testing Build Status

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

Getting in touch

In case you have any questions, open an issue.

Running the tests

Yarn

yarn
yarn test:coverage

Npm

npm i
npm run test:coverage

License

MIT

Test

Husky