Skip to content

Commit 435a907

Browse files
committed
fix test timeouts
1 parent b52b00c commit 435a907

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cli.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('codemod-cli', function () {
3636
const codemodCliPath = `${codemodProject.path()}/node_modules/codemod-cli`;
3737

3838
if (installDeps) {
39-
await execa('npm', ['install']);
39+
await execa('pnpm', ['install']);
4040
fs.removeSync(jestPath);
4141
fs.removeSync(codemodCliPath);
4242
}
@@ -45,7 +45,7 @@ describe('codemod-cli', function () {
4545
fs.ensureDirSync(`${codemodProject.path()}/node_modules`);
4646
fs.symlinkSync(`${ROOT}/node_modules/jest`, jestPath);
4747
fs.symlinkSync(PROJECT_ROOT, codemodCliPath);
48-
});
48+
}, 50000);
4949
}
5050

5151
beforeEach(async function () {
@@ -500,7 +500,7 @@ describe('codemod-cli', function () {
500500
return userProject.dispose();
501501
});
502502

503-
test('runs transform', async function () {
503+
test('runs transform', { timeout: 50000}, async function () {
504504
userProject.write({
505505
foo: {
506506
'something.js': 'let blah = bar;',

0 commit comments

Comments
 (0)