Integration test: add existing torrent

This commit is contained in:
DC
2016-09-13 22:19:52 -07:00
parent 62c5b78358
commit 051c1516a0
12 changed files with 72 additions and 20 deletions

View File

@@ -24,7 +24,7 @@ function createApp (t) {
return new Application({
path: path.join(__dirname, '..', 'node_modules', '.bin',
'electron' + (process.platform === 'win32' ? '.cmd' : '')),
args: [path.join(__dirname, '..')],
args: ['-r', path.join(__dirname, 'mocks.js'), path.join(__dirname, '..')],
env: {NODE_ENV: 'test'}
})
}