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-travis-heroku

The simplest example of testing an Express application in the Puppeteer and Jest, included in the CI/CD pipeline
https://github.com/softspiders/puppeteer-jest-travis-heroku

headless heroku jest min puppeteer softspider softspiders ss template test testing travis

Last synced: about 5 hours ago
JSON representation

The simplest example of testing an Express application in the Puppeteer and Jest, included in the CI/CD pipeline

Awesome Lists containing this project

README

        

[SOFTSPIDERS](https://github.com/softspiders/softspiders)

# The simplest example of testing an Express application with Puppeteer and Jest, included in the CI/CD *GitHub->Travis CI->Heroku* pipeline.

## Feature tags

- build
- ci
- cd
- deploy
- express
- heroku
- jest
- puppeteer
- starter
- template
- travis

---

## Direct ancestors

* [puppeteer-jest](https://github.com/softspiders/puppeteer-jest) - also by code
* [node-travis-heroku-cd](https://github.com/softspiders/node-travis-heroku-cd)

## Direct feature descendants

[next-puppeteer-jest-travis-heroku](https://github.com/softspiders/next-puppeteer-jest-travis-heroku)

---

## 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
```
---

## Demo

https://puppeteer-jest-travis-heroku.herokuapp.com/

---

## Authors

[Alexander Lapygin](https://github.com/AlexanderLapygin)

### License

Licensed under the [MIT license](./LICENSE)