Skip to content

Commit 3b85c3b

Browse files
committed
ci: Throw timeout in specific tests
1 parent b354c69 commit 3b85c3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"jest": {
4343
"rootDir": "./test/jest",
44-
"testTimeout": 600000000
44+
"testTimeout": 120000
4545
},
4646
"files": [
4747
"cmds",

test/jest/global.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ describe("global", () => {
4040
afterAll(async () => {
4141
if (process.env.ALLOW_UNSAFE) {
4242
// remove test changes
43-
await ctx.runEask("uninstall -g spinner ivy beacon company-fuzzy");
43+
await ctx.runEask("uninstall -g spinner ivy beacon company-fuzzy", , { timeout: 120000 });
4444
await fs.rm(path.join(process.env.HOME, "Eask"));
4545
}
4646
});
4747

4848
testUnsafe("eask install -g", async () => {
49-
await ctx.runEask("install -g spinner ivy beacon company-fuzzy");
49+
await ctx.runEask("install -g spinner ivy beacon company-fuzzy", , { timeout: 120000 });
5050
});
5151

5252
testUnsafe("eask uninstall -g", async () => {

0 commit comments

Comments
 (0)