1.1.1 • Published 2 years ago
@rbbn/webrtc-electron-tools v1.1.1
Distant Electron Launcher
Provides a custom Electron launcher to be used under the customLaunchers property in a karma.conf.js Karma configuration file.
Usage
const createKarmaLauncher = require('webrtc-electron-tools')
const useContextIsolation = true // Otherwise defaults to false
module.exports = config => {
  config.set({
    ...
    customLaunchers: {
      webRTCElectron: createKarmaLauncher('./electronMainEntry.js', useContextIsolation)
    }
    ...
  })
}