Skip to content

Commit 388f91b

Browse files
committed
tests-jest | changes timeout for one test
1 parent c167b96 commit 388f91b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/cli/cli.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const runInPath = async (path: string): Promise<string> => {
2222
};
2323

2424
it('files are detected correctly', async () => {
25-
jest.setTimeout(20000); // this test can run up to 20 seconds
2625
// given
2726
const path = process.cwd() + '/test/cli/repository';
2827

@@ -35,4 +34,4 @@ it('files are detected correctly', async () => {
3534
expect(stdout).toMatch(/TS2532: Object is possibly 'undefined'/);
3635
expect(stdout).toMatch(/Found 2 strict files/);
3736
expect(stdout).toMatch(/2 errors found/);
38-
});
37+
}, 30000);

0 commit comments

Comments
 (0)