Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 641 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 641 Bytes

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