Skip to content

Commit

Permalink
test: remove browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Feb 20, 2020
1 parent 93bd8da commit 40f3dc8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 29 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/browser-test.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .gitignore
Expand Up @@ -3,7 +3,4 @@ coverage
node_modules

# Pika builds
pkg/

# cypress
cypress/
pkg/
6 changes: 0 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -41,12 +41,6 @@ Or run a specific test
$ ./node_modules/.bin/mocha test/scenarios/get-repository-test.js
```

Run browser tests

```bash
$ 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).

Expand Down
3 changes: 0 additions & 3 deletions package.json
Expand Up @@ -48,7 +48,6 @@
"@types/node": "^13.1.0",
"btoa-lite": "^1.0.0",
"chai": "^4.1.2",
"cypress": "^3.0.0",
"mocha": "^7.0.1",
"nock": "^12.0.0",
"nyc": "^15.0.0",
Expand All @@ -70,8 +69,6 @@
"lint:fix": "prettier --write '{src,test}/**/*.{js,json,ts}' 'docs/*.{js,json}' 'docs/src/**/*' README.md package.json",
"pretest": "npm run -s lint && npm run -s build",
"test": "nyc mocha test/mocha-node-setup.js \"test/*/**/*-test.js\"",
"pretest:browser": "npm run -s build",
"test:browser": "cypress run --browser chrome",
"start-fixtures-server": "octokit-fixtures-server"
},
"license": "MIT",
Expand Down

0 comments on commit 40f3dc8

Please sign in to comment.