Skip to content

Commit

Permalink
fix: local binaries for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Jan 28, 2021
1 parent 59ac2d6 commit bf98e76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ module.exports = (argv) => {
TASEGIR_RUNNER: argv.webworker ? 'webworker' : 'browser'
},
localDir: path.join(__dirname, '../..'),
stdio: 'inherit'
stdio: 'inherit',
preferLocal: true
})
})
.then(() => hook('browser', 'post')(argv.userConfig))
Expand Down
1 change: 1 addition & 0 deletions src/test/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = (argv) => {
...forwardOptions
], {
localDir: path.join(__dirname, '../..'),
preferLocal: true,
stdio: 'inherit',
env: {
TASEGIR_RUNNER: argv.renderer ? 'electron-renderer' : 'electron-main',
Expand Down

0 comments on commit bf98e76

Please sign in to comment.