Tooling is always tricky business. This is what I have in my config:
browsers: ['CustomElectron'],
customLaunchers: {
CustomElectron: {
base: 'Electron',
flags: [ '--show' ]
browserWindowOptions: {
nodeIntegration: true,
nodeIntegrationInWorker: true,
nodeIntegrationInSubFrames: true,
contextIsolation: false,
},
},
},
preprocessors: {
'dist/**/*.test.js': ['electron', 'webpack', 'sourcemap'],
},
client: {
useIframe: false,
loadScriptsViaRequire: false, // true makes no difference.
},
Did I miss something in the newer karma-electron?
Tooling is always tricky business. This is what I have in my config:
Did I miss something in the newer karma-electron?