Fix Travis
This commit is contained in:
parent
721e666d95
commit
b998dc8cde
2
test.js
2
test.js
|
@ -7,6 +7,6 @@ import tempfile from 'tempfile';
|
||||||
test(async t => {
|
test(async t => {
|
||||||
const cwd = tempfile();
|
const cwd = tempfile();
|
||||||
fs.mkdirSync(cwd);
|
fs.mkdirSync(cwd);
|
||||||
await execa(path.join(__dirname, 'cli.js'), [path.join(__dirname, 'fixture.app')], {cwd});
|
await t.throws(execa(path.join(__dirname, 'cli.js'), [path.join(__dirname, 'fixture.app')], {cwd}), /Code signing failed/);
|
||||||
t.true(fs.existsSync(path.join(cwd, 'fixture-0.0.1.dmg')));
|
t.true(fs.existsSync(path.join(cwd, 'fixture-0.0.1.dmg')));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue