Skip to content

Commit

Permalink
Merge pull request tj#1108 from shadowspawn/feature/timeout
Browse files Browse the repository at this point in the history
Extend timeout to hopefully reduce test failures
abetomo authored Nov 25, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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
Original file line number Diff line number Diff line change
@@ -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');

0 comments on commit 7c22701

Please sign in to comment.