Skip to content

Commit c5edadc

Browse files
committed
test: remove mocha and nyc
1 parent 40f3dc8 commit c5edadc

26 files changed

+65
-2748
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.nyc_output
21
coverage
32
node_modules
43

CONTRIBUTING.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ $ npm test
3838
Or run a specific test
3939

4040
```bash
41-
$ ./node_modules/.bin/mocha test/scenarios/get-repository-test.js
41+
$ ./node_modules/.bin/jest test/integration/smoke.test.js
4242
```
4343

44-
**Note**: In order to run the same [scenario tests](test/scenarios) in both Node
45-
and browser, we simulate the Cypress environment in Node, see [test/mocha-node-setup.js](test/mocha-node-setup.js).
46-
4744
The examples are run as part of the tests. You can set an `EXAMPLES_GITHUB_TOKEN` environment
4845
variable (or set it in a `.env` file) to avoid running against GitHub's rate limit.
4946

0 commit comments

Comments
 (0)