From a006e4361631226a6942e59ed1811832814d875c Mon Sep 17 00:00:00 2001 From: ehmicky Date: Fri, 10 May 2019 16:33:04 +0200 Subject: [PATCH] Improve test --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 945a942f8c..553cdbc12d 100644 --- a/test.js +++ b/test.js @@ -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'); }); }