0.8.4 • Published 5 years ago

backpack-examples-with-jest v0.8.4

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Example with Jest

How to use

Download the example or clone the whole project:

curl https://codeload.github.com/palmerhq/backpack/tar.gz/master | tar -xz --strip=2 backpack-master/examples/with-jest
cd with-jest

Install it and run the tests:

npm install
npm t

Idea behind the example

This is an example of how to use the Jest test framework with Backpack.

Points of Interest:

  • New .babelrc file with presets: ["backpack-core/babel"]
  • Add babel-jest and jest-cli to devDependencies in package.json
  • Add "jest" section to package.json to manage Jest configuration
  • Demonstrate how to write HTTP test with supertest-as-promised
0.8.4

5 years ago

0.8.3

5 years ago

0.8.2

6 years ago

0.8.1

6 years ago

0.8.0

6 years ago

0.8.0-0

6 years ago

0.7.0

6 years ago

0.5.0

6 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.4.0-rc1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago