Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 1 month ago
JSON representation

The simplest example of testing a web application in Puppeteer and Jest

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)