# jest-runner-electron

> This is custom runner and custom environment for jest electron runner. What features it includes ?

Latest version **1.0.0** (published 2019-02-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install jest-runner-electron
pnpm add jest-runner-electron
yarn add jest-runner-electron
bun add jest-runner-electron
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-02-03 |
| First published | 2019-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 19 |
| Unpacked size | 494.7 KB |
| Known vulnerabilities | 0 (+47 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | kraken97 |

## Links

- npm: https://www.npmjs.com/package/jest-runner-electron
- npm.io page: https://npm.io/package/jest-runner-electron

## Dependencies (19)

- [jest](https://npm.io/package/jest.md) ^24.0.0
- [jsdom](https://npm.io/package/jsdom.md) ^13.2.0
- [react](https://npm.io/package/react.md) ^16.7.0
- [throat](https://npm.io/package/throat.md) ^4.1.0
- [core-js](https://npm.io/package/core-js.md) ^2.6.3
- [ts-jest](https://npm.io/package/ts-jest.md) ^23.10.5
- [electron](https://npm.io/package/electron.md) 4
- [react-dom](https://npm.io/package/react-dom.md) ^16.7.0
- [typescript](https://npm.io/package/typescript.md) ^3.3.1
- [@types/jest](https://npm.io/package/@types/jest.md) ^23.3.13
- [@types/node](https://npm.io/package/@types/node.md) ^10.12.21
- [jest-runner](https://npm.io/package/jest-runner.md) ^24.0.0
- [@types/react](https://npm.io/package/@types/react.md) ^16.8.1
- [promise-limit](https://npm.io/package/promise-limit.md) ^2.7.0
- [@types/electron](https://npm.io/package/@types/electron.md) ^1.6.10
- [@jest-runner/core](https://npm.io/package/@jest-runner/core.md) ^1.0.2
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^3.9.1
- [@jest-runner/electron](https://npm.io/package/@jest-runner/electron.md) ^1.0.3
- [react-testing-library](https://npm.io/package/react-testing-library.md) ^5.4.4

## Recent versions

- 1.0.0 (latest) — 2019-02-03

## README

# jest electron runner

This is custom runner and custom environment for jest electron runner.
What features it includes ?

- Running tests in electron renderer environnement
- Parallel tests execution
- Running tests in headless environnement
- Debugging tests with built in awaiters.

# how to install

see example folders for working example.

1. install jest and this lib
2. add set the following properties in config

```
{
  globals: {
    __REACT_DEVTOOLS_GLOBAL_HOOK__: false,
    ELECTRON_DISABLE_SECURITY_WARNINGS: false
  },
  runner: "<TBD>/runner.js",
  testEnvironment: "<TBD>/env.js"
}
```

3. Optionally you can set ELECTRON_RUNNER_DEBUG if you wish to open dev tools and electron view

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