Skip to content

Commit 50f591c

Browse files
committed
Increase timeouts.
1 parent 00aac84 commit 50f591c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

@shanzhai/production-cli/unit.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import * as childProcess from "child_process";
55
import * as uuid from "uuid";
66
import * as fsExtra from "fs-extra";
77

8+
const timeout = 30000;
9+
810
describe(`shanzhai-production-cli`, () => {
911
describe(`when there are no steps to execute`, () => {
1012
let root: string;
@@ -41,7 +43,7 @@ describe(`shanzhai-production-cli`, () => {
4143
}
4244
);
4345
});
44-
});
46+
}, timeout);
4547

4648
afterAll(async () => {
4749
await fs.promises.rm(root, { recursive: true });
@@ -98,7 +100,7 @@ No steps to execute.
98100
}
99101
);
100102
});
101-
});
103+
}, timeout);
102104

103105
afterAll(async () => {
104106
await fs.promises.rm(root, { recursive: true });
@@ -159,7 +161,7 @@ No steps to execute.
159161
}
160162
);
161163
});
162-
});
164+
}, timeout);
163165

164166
afterAll(async () => {
165167
await fs.promises.rm(root, { recursive: true });
@@ -211,7 +213,7 @@ No steps to execute.
211213
}
212214
);
213215
});
214-
});
216+
}, timeout);
215217

216218
afterAll(async () => {
217219
await fs.promises.rm(root, { recursive: true });

0 commit comments

Comments
 (0)