Fix Travis

This commit is contained in:
Sindre Sorhus 2017-03-29 13:55:59 +07:00
parent 721e666d95
commit b998dc8cde
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ import tempfile from 'tempfile';
test(async t => {
const cwd = tempfile();
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')));
});