[Gradle, JS] Return result of testing function
- It is useful for async testing (Promise returning)
This commit is contained in:
@@ -55,7 +55,7 @@ export function runWithTeamCityConsoleAdapter(
|
||||
return () => globalConsole[method] = realMethod
|
||||
});
|
||||
try {
|
||||
fn();
|
||||
return fn();
|
||||
} catch (e) {
|
||||
throw e;
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user