Skip to content

Fork of karmatic which uses Nightmare (electron) instead of Chrome Headless

Notifications You must be signed in to change notification settings

suchipi/karmatic-nightmare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karmatic-nightmare

This is a fork of Karmatic which uses Nightmare as its browser instead of Chrome headless.

Options and usage more-or-less match karmatic; see its repo for more info.

Differences from Karmatic

  • Uses Nightmare instead of Puppeteer (runs in Electron instead of Chrome)
  • Uses Jest's expect instead of Jasmine's
  • You can use electron.require in your tests to require using electron (normal requires are compiled using Webpack)
  • You can use the --dev-tools CLI option to open Electron's Dev Tools UI
  • You can use the --test-setup-script CLI option to define a test setup file that runs before all tests run (eg --test-setup-script ./src/test-setup.js)
  • Has a fancy jest-style reporter

About

Fork of karmatic which uses Nightmare (electron) instead of Chrome Headless

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%