# jest-environment-nwjs

> This package provides a Jest environment that runs tests in NW.js.

Latest version **25.1.0** (published 2020-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install jest-environment-nwjs
pnpm add jest-environment-nwjs
yarn add jest-environment-nwjs
bun add jest-environment-nwjs
```

## 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 | 25.1.0 |
| Published | 2020-02-21 |
| First published | 2020-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lily Scott |
| Maintainers | suchipi |

## Links

- npm: https://www.npmjs.com/package/jest-environment-nwjs
- npm.io page: https://npm.io/package/jest-environment-nwjs

## Dependencies (1)

- [jest-environment-node](https://npm.io/package/jest-environment-node.md) ^25.1.0

## Recent versions

- 25.1.0 (latest) — 2020-02-21

## README

# jest-environment-nwjs

This package provides a Jest environment that runs tests in NW.js.

## Installation

Install `jest-environment-nwjs` and `node-nw`:

```
npm install --save-dev jest-environment-nwjs node-nw
```

Then, add the following to your `package.json`:

```json
{
	"scripts": {
		"jest": "node-nw ./node_modules/.bin/jest --colors"
	},
	"jest": {
		"testEnvironment": "jest-environment-nwjs",
		"globalTeardown": "jest-environment-nwjs/teardown"
	}
}
```

Then, run `npm run jest` or `npm run jest --watch`.

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