From 3dc063b365958dad47c1bb7205ef49dc5632ab77 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Fri, 10 May 2019 14:49:23 +0200 Subject: [PATCH] Decrease test timeout --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index fb98e83ce7..64ce2f2b51 100644 --- a/test.js +++ b/test.js @@ -347,7 +347,7 @@ if (process.platform !== 'win32') { }); test('custom error.signal', async t => { - const error = await t.throwsAsync(execa('delay', ['3000', '0'], {killSignal: 'SIGHUP', timeout: 1500, message: TIMEOUT_REGEXP})); + const error = await t.throwsAsync(execa('delay', ['3000', '0'], {killSignal: 'SIGHUP', timeout: 1, message: TIMEOUT_REGEXP})); t.is(error.signal, 'SIGHUP'); }); }