Skip to content

Commit

Permalink
Merge pull request #1108 from shadowspawn/feature/timeout
Browse files Browse the repository at this point in the history
Extend timeout to hopefully reduce test failures
  • Loading branch information
abetomo committed Nov 25, 2019
2 parents 7920697 + 09c4ab4 commit 7c22701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/command.executableSubcommand.lookup.test.js
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 7c22701

Please sign in to comment.