This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
karmatic-nightmare with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Options and usage more-or-less match karmatic; see its repo for more info.
expectinstead of Jasmine's
electron.requirein your tests to require using electron (normal
requires are compiled using Webpack)
--dev-toolsCLI option to open Electron's Dev Tools UI
--test-setup-scriptCLI option to define a test setup file that runs before all tests run (eg