Skip to content

Commit 40f3dc8

Browse files
committed
test: remove browser tests
1 parent 93bd8da commit 40f3dc8

File tree

4 files changed

+1
-29
lines changed

4 files changed

+1
-29
lines changed

.github/workflows/browser-test.yml

-16
This file was deleted.

.gitignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ coverage
33
node_modules
44

55
# Pika builds
6-
pkg/
7-
8-
# cypress
9-
cypress/
6+
pkg/

CONTRIBUTING.md

-6
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ Or run a specific test
4141
$ ./node_modules/.bin/mocha test/scenarios/get-repository-test.js
4242
```
4343

44-
Run browser tests
45-
46-
```bash
47-
$ npm run test:browser
48-
```
49-
5044
**Note**: In order to run the same [scenario tests](test/scenarios) in both Node
5145
and browser, we simulate the Cypress environment in Node, see [test/mocha-node-setup.js](test/mocha-node-setup.js).
5246

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"@types/node": "^13.1.0",
4949
"btoa-lite": "^1.0.0",
5050
"chai": "^4.1.2",
51-
"cypress": "^3.0.0",
5251
"mocha": "^7.0.1",
5352
"nock": "^12.0.0",
5453
"nyc": "^15.0.0",
@@ -70,8 +69,6 @@
7069
"lint:fix": "prettier --write '{src,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' README.md package.json",
7170
"pretest": "npm run -s lint && npm run -s build",
7271
"test": "nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"",
73-
"pretest:browser": "npm run -s build",
74-
"test:browser": "cypress run --browser chrome",
7572
"start-fixtures-server": "octokit-fixtures-server"
7673
},
7774
"license": "MIT",

0 commit comments

Comments
 (0)