# gulpzilla-jest

> jest plugin for gulpzilla

Latest version **4.0.3** (published 2016-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulpzilla-jest
pnpm add gulpzilla-jest
yarn add gulpzilla-jest
bun add gulpzilla-jest
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.0.3 |
| Published | 2016-12-09 |
| First published | 2016-06-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | alvinsj |
| Maintainers | alvinsj |
| Keywords | gulpzilla, gulp, jest, mock, jasmine, unit, test, facebook |

## Links

- npm: https://www.npmjs.com/package/gulpzilla-jest
- Repository: https://github.com/blacktangent/gulpzilla
- Homepage: https://github.com/blacktangent/gulpzilla-jest#readme
- Issues: https://github.com/blacktangent/gulpzilla-jest/issues
- npm.io page: https://npm.io/package/gulpzilla-jest

## Dependencies (3)

- [npm](https://npm.io/package/npm.md) ^3.9.5
- [cli-color](https://npm.io/package/cli-color.md) ^1.1.0
- [invariant](https://npm.io/package/invariant.md) ^2.2.1

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads
- [aws-elasticsearch-connector](https://npm.io/package/aws-elasticsearch-connector.md) — 37.4K weekly downloads

## Recent versions

- 4.0.3 (latest) — 2016-12-09
- 4.0.2 — 2016-12-06
- 4.0.1 — 2016-12-05
- 3.2.8 — 2016-12-05
- 3.0.0 — 2016-10-04
- 2.0.0 — 2016-08-11
- 1.0.0 — 2016-06-13

## README

# gulpzilla-jest

This adds 2 gulp commands to [gulpzilla](https://github.com/blacktangent/gulpzilla):

1. `gulp jest`
2. `gulp watch-jest`

## Install

```
$ npm install --save-dev gulpzilla-jest
```

## Requirement

This plugin requires script: `npm run jest`  

In `package.json`:

```
{
  "scripts": {
    "jest": "jest" /* e.g. you can specify NODE_PATH or --[option] here */
  }
}
```

## Configuration
In `gulpfile.js`:

```
const gulp = gulpzilla({
  jest: {
    srcDir: __dirname + '__tests__' // test directory
  }
});
```



## Jest Configuration

Configure jest the usual way explained in their official documentation.  

For example, in `package.json`:

```
{
  "jest": {
    "bail": true,
    "verbose": true,
    "scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
    "testPathDirs": [
      "<rootDir>/__tests__"
    ]
  }
}
```

---
_Source: https://npm.io/package/gulpzilla-jest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
