Skip to content

custom test runner for Jest that allows tests to be run in Electron environment

License

Notifications You must be signed in to change notification settings

MarshallOfSound/jest-electron-runner

 
 

Repository files navigation

CircleCI

Jest electron runner

A custom test runner for Jest that runs tests inside an electron window environment.

Getting Started

  1. Install jest electron runner yarn add @jest-runner/electron --dev

  2. Add these lines to your jest config (in package.json or inside your jest.config.js file)

        {
          // ...
          runner: '@jest-runner/electron',
          testEnvironment: '@jest-runner/electron/environment',
        }
  3. run jest!

Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Jest.

License

MIT licensed.

About

custom test runner for Jest that allows tests to be run in Electron environment

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • HTML 0.3%