From 78abae1c2835efd176e0dff7615497377e98f37c Mon Sep 17 00:00:00 2001 From: Joe Hanley Date: Mon, 10 Apr 2023 09:18:10 -0700 Subject: [PATCH] Increases timeout of flaky tests to 5000ms --- src/test/frameworks/utils.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/frameworks/utils.spec.ts b/src/test/frameworks/utils.spec.ts index 821485578ab..483903b36fe 100644 --- a/src/test/frameworks/utils.spec.ts +++ b/src/test/frameworks/utils.spec.ts @@ -12,17 +12,17 @@ describe("Frameworks utils", () => { expect(getNodeModuleBin("tsc", __dirname)).to.equal( resolve(join(__dirname, "..", "..", "..", "node_modules", ".bin", "tsc")) ); - }); + }).timeout(5000); it("should throw when npm root not found", () => { expect(() => { getNodeModuleBin("tsc", "/"); }).to.throw("Could not find the tsc executable."); - }); + }).timeout(5000); it("should throw when executable not found", () => { expect(() => { getNodeModuleBin("xxxxx", __dirname); }).to.throw("Could not find the xxxxx executable."); - }); + }).timeout(5000); }); describe("isUrl", () => {