I'm building an Electron app with electron-webpack, along with jest as test suite.
I can't find a way to use spectron test utilities in this context.
I've found this issue which seems to solve it, but i'd like to see if it's possible to avoid building the dist.
1) is there a way to tell spectron to precompile with babel so that i can use import/export out of the box ?
2) is it possible to make spectron aware of __static ?
Hi there !
I'm building an Electron app with
electron-webpack
, along withjest
as test suite.I can't find a way to use
spectron
test utilities in this context. I've found this issue which seems to solve it, but i'd like to see if it's possible to avoid building thedist
.1) is there a way to tell
spectron
to precompile with babel so that i can useimport/export
out of the box ? 2) is it possible to makespectron
aware of__static
?