Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softspiders/puppeteer-jest
The simplest example of testing a web application in Puppeteer and Jest
https://github.com/softspiders/puppeteer-jest
browser express headless helloworld javascript jest js min node node-js nodejs puppeteer softspider softspiders ss starter template test testing web
Last synced: about 5 hours ago
JSON representation
The simplest example of testing a web application in Puppeteer and Jest
- Host: GitHub
- URL: https://github.com/softspiders/puppeteer-jest
- Owner: softspiders
- License: mit
- Created: 2019-05-10T07:58:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T21:44:58.000Z (almost 2 years ago)
- Last Synced: 2024-04-23T22:43:28.733Z (7 months ago)
- Topics: browser, express, headless, helloworld, javascript, jest, js, min, node, node-js, nodejs, puppeteer, softspider, softspiders, ss, starter, template, test, testing, web
- Language: JavaScript
- Homepage:
- Size: 1.65 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SOFTSPIDERS
# The simplest example of testing a web application in Puppeteer and Jest
---
## Feature tags
- express
- jest
- puppeteer
- template---
## Direct ancestors
- [puppeteer](https://github.com/softspiders/puppeteer)
- [express](https://github.com/softspiders/express) - also by code
- [jest-starter](https://github.com/softspiders/jest-starter)## Direct descendants
[puppeteer-jest-travis-heroku](https://github.com/softspiders/puppeteer-jest-travis-heroku) - also by code
---
## Authors
[Alexander Lapygin](https://github.com/AlexanderLapygin)
---
## Requirements
[Node.js](https://nodejs.org/en/download/package-manager/) >= v6.4.0
---
## Installation
```sh
yarn
```Note: When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API. To skip the download, see [Environment variables](https://github.com/GoogleChrome/puppeteer/blob/v1.15.0/docs/api.md#environment-variables).
---
## Application run
```sh
node index
```## Test run
```sh
yarn test
```---
### License
Licensed under the [MIT license](./LICENSE)