mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 05:44:24 +00:00
docs: Info on adding Cypress browser tests
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user