Merge pull request #159 from lokesh/docs-cypress-test

docs: Info on adding Cypress browser tests
This commit is contained in:
Lokesh Dhakar
2019-07-14 09:28:28 -07:00
committed by GitHub

View File

@@ -5,6 +5,11 @@ Run Cypress integration tests in Chrome browser.
- `npm run dev` to start local server. - `npm run dev` to start local server.
- `npm run test` - `npm run test`
## Adding tests
- Update `cypress/test-pages/index.html` as needed or create a new test page if you need new examples.
- Add new tests in `cypress/integration/apis_spec.js`
## Making a new release ## Making a new release
- Update version number in `src/color-thief.js` and `package.json` - Update version number in `src/color-thief.js` and `package.json`