Skip to content

Commit

Permalink
Extend timeout to hopefully reduce test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Nov 24, 2019
1 parent 04766dc commit 09c4ab4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/command.executableSubcommand.lookup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 09c4ab4

Please sign in to comment.