Skip to content

Commit 1793e5b

Browse files
joehanjamesdaniels
andauthored
Increases timeout of flaky tests to 5000ms (#5674)
Co-authored-by: James Daniels <[email protected]>
1 parent 11f7108 commit 1793e5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/frameworks/utils.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ describe("Frameworks utils", () => {
1212
expect(getNodeModuleBin("tsc", __dirname)).to.equal(
1313
resolve(join(__dirname, "..", "..", "..", "node_modules", ".bin", "tsc"))
1414
);
15-
});
15+
}).timeout(5000);
1616
it("should throw when npm root not found", () => {
1717
expect(() => {
1818
getNodeModuleBin("tsc", "/");
1919
}).to.throw("Could not find the tsc executable.");
20-
});
20+
}).timeout(5000);
2121
it("should throw when executable not found", () => {
2222
expect(() => {
2323
getNodeModuleBin("xxxxx", __dirname);
2424
}).to.throw("Could not find the xxxxx executable.");
25-
});
25+
}).timeout(5000);
2626
});
2727

2828
describe("isUrl", () => {

0 commit comments

Comments
 (0)