From 09c4ab4aea7deb7fe800610ffe518eb38a24d392 Mon Sep 17 00:00:00 2001 From: John Gee Date: Sun, 24 Nov 2019 20:23:04 +1300 Subject: [PATCH] Extend timeout to hopefully reduce test failures --- tests/command.executableSubcommand.lookup.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/command.executableSubcommand.lookup.test.js b/tests/command.executableSubcommand.lookup.test.js index 9f1db6ed2..50c2cfe1f 100644 --- a/tests/command.executableSubcommand.lookup.test.js +++ b/tests/command.executableSubcommand.lookup.test.js @@ -89,6 +89,7 @@ testOrSkipOnWindows('when subcommand file is double symlink then lookup succeeds }); test('when subcommand suffix is .ts then lookup succeeds', (done) => { + jest.setTimeout(20000); // Extend timeout for GitHub Actions const binLinkTs = path.join(__dirname, 'fixtures-ts', 'pm.ts'); childProcess.execFile('node', ['-r', 'ts-node/register', binLinkTs, 'install'], function(_error, stdout, stderr) { expect(stdout).toBe('install\n');