Skip to content

Commit f0ef3fd

Browse files
committed
add testConfig.timeout to ConfigTestCases
1 parent 5a5a95a commit f0ef3fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/ConfigTestCases.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ describe("ConfigTestCases", () => {
6666
testConfig = Object.assign(testConfig, require(path.join(testDirectory, "test.config.js")));
6767
} catch(e) {}
6868

69-
// this.timeout(testConfig.timeout);
70-
7169
webpack(options, (err, stats) => {
7270
if(err) {
7371
const fakeStats = {
@@ -89,7 +87,7 @@ describe("ConfigTestCases", () => {
8987
let exportedTests = [];
9088

9189
function _it(title, fn) {
92-
exportedTests.push(fit(title, fn));
90+
exportedTests.push(fit(title, fn, testConfig.timeout));
9391
}
9492

9593
const globalContext = {

0 commit comments

Comments
 (0)