Skip to content

Commit

Permalink
test: fix electron path for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed Jul 31, 2024
1 parent fe2316e commit bc6e1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wdio-electron-service/test/launcher.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ describe('onPrepare', () => {
'browserVersion': '116.0.5845.190',
'goog:chromeOptions': {
args: ['--app=path/to/main.bundle.js'],
binary: `${getFixtureDir('no-build-tool')}/node_modules/.bin/electron`,
binary: path.join(getFixtureDir('no-build-tool'), 'node_modules', '.bin', 'electron'),
windowTypes: ['app', 'webview'],
},
'wdio:electronServiceOptions': {},
Expand Down

0 comments on commit bc6e1aa

Please sign in to comment.