mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 17:42:24 +08:00
[tests] increase test default timeout to 15 seconds
This commit is contained in:
@@ -135,7 +135,7 @@ class TestSuiteDefinition {
|
||||
this.currentTestContext[hookAttribute] = this.currentTestContext[hookAttribute] || [];
|
||||
this.currentTestContext[hookAttribute].push({
|
||||
callback,
|
||||
timeout: options.timeout || 5000,
|
||||
timeout: options.timeout || 15000,
|
||||
});
|
||||
} else {
|
||||
testDefinitionError(`non-function value ${callback} passed to ${hookName} for '${this.currentTestContext.name}'`);
|
||||
|
||||
Reference in New Issue
Block a user