Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/opencomponents/oc-testing

Code examples for testing OC components
https://github.com/opencomponents/oc-testing

opencomponents

Last synced: about 2 months ago
JSON representation

Code examples for testing OC components

Lists

README

        

oc-testing [![Build Status](https://secure.travis-ci.org/opencomponents/oc-testing.png?branch=master)](http://travis-ci.org/opencomponents/oc-testing)
==========

Code examples for testing [OC components](https://github.com/opentable/oc).

* 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

```bash
yarn
yarn test:coverage
```

#### Npm

```bash
npm i
npm run test:coverage
```

### License

MIT

### Test

Husky