@gasket/plugin-jest v6.46.8
@gasket/plugin-jest
Creates a jest
with enzyme
based testing environment for your Gasket
application.
Installation
This plugin should only be used during the create command for new apps.
gasket create <app-name> --plugins @gasket/plugin-jest
Usage
When you create a new Gasket application that is configured with the jest
plugin it will prepare it with a jest
based testing environment. It will add
the following scripts
to the package.json
:
npm test
, Runs the files matching default jest glob pattern, i.e. includes files from tests folder and all*.test.js
or*.spec.js
files.npm run test:watch
Same asnpm test
but now watches your tests and automatically re-runs the tests when changes are detected.npm run test:coverage
Same asnpm test
, but generates coverage information for all the files matching thecollectCoverageFrom
pattern injest.config.js
file.
enzyme
is included with this plugin, which makes it easier to assert,
manipulate, and traverse your React Components.
License
4 days ago
9 days ago
9 days ago
9 days ago
9 days ago
9 days ago
9 days ago
9 days ago
9 days ago
9 days ago
10 days ago
11 days ago
12 days ago
16 days ago
23 days ago
24 days ago
24 days ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
4 months ago
12 months ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago