Skip to content

Commit

Permalink
docs(README): explain simulation of Cypress environment in Node
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 17, 2018
1 parent 3085292 commit f19137f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ Run browser tests
$ npm run test:browser
```

**Note**: In order to run the same [scenario tests](test/scenarios) in both Node
and browser, we simulate the Cypress environment in Node, see [test/mocha-node-setup.js](test/mocha-node-setup.js).

The examples are run as part of the tests. You can set an `EXAMPLES_GITHUB_TOKEN` environment
variable (or set it in a `.env` file) to avoid running against GitHub's rate limit.

Expand Down

0 comments on commit f19137f

Please sign in to comment.