[tests] increase test default timeout to 15 seconds
This commit is contained in:
parent
56e9a1d5f6
commit
4e78c5373b
|
@ -135,7 +135,7 @@ class TestSuiteDefinition {
|
||||||
this.currentTestContext[hookAttribute] = this.currentTestContext[hookAttribute] || [];
|
this.currentTestContext[hookAttribute] = this.currentTestContext[hookAttribute] || [];
|
||||||
this.currentTestContext[hookAttribute].push({
|
this.currentTestContext[hookAttribute].push({
|
||||||
callback,
|
callback,
|
||||||
timeout: options.timeout || 5000,
|
timeout: options.timeout || 15000,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
testDefinitionError(`non-function value ${callback} passed to ${hookName} for '${this.currentTestContext.name}'`);
|
testDefinitionError(`non-function value ${callback} passed to ${hookName} for '${this.currentTestContext.name}'`);
|
||||||
|
|
Loading…
Reference in New Issue