https://github.com/cellular/punchman
Run E2E tests with puppeteer and jest
https://github.com/cellular/punchman
Last synced: about 1 year ago
JSON representation
Run E2E tests with puppeteer and jest
- Host: GitHub
- URL: https://github.com/cellular/punchman
- Owner: cellular
- License: mit
- Created: 2018-03-02T11:34:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-02T11:34:24.000Z (over 8 years ago)
- Last Synced: 2025-02-15T11:19:48.542Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# punchman (1)
## Configuration
.punchmanrc, punchman.config.js or a punchman property in package.json
```js
{
"testDir": "e2e",
"baseUrl": process.env.SERVER_URL,
"puppeteer": {
"sloMo": 0,
"headless": true,
"ignoreHTTPSErrors": true
},
"plugins": [
"punchman-react"
]
}
```
## Starting and stopping a server
```sh
npm install --saveDev with-server
```
```json
{
"scripts": {
"start": "webpack-dev-server",
"test": "with-server punchman"
}
}
```