Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 10, 2019
1 parent 28fa8ef commit a006e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -392,7 +392,7 @@ if (process.platform !== 'win32') {
});

test('custom error.signal', async t => {
const error = await t.throwsAsync(execa('delay', ['30000'], {killSignal: 'SIGHUP', timeout: 1, message: TIMEOUT_REGEXP}));
const error = await t.throwsAsync(execa('forever', {killSignal: 'SIGHUP', timeout: 1, message: TIMEOUT_REGEXP}));
t.is(error.signal, 'SIGHUP');
});
}
Expand Down

0 comments on commit a006e43

Please sign in to comment.