mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-26 00:29:35 -04:00
don't eat logs in verbose mode (#4368)
This commit is contained in:
1 parent
e20e7eba8c
commit
c858df990d
1 file changed
+9
-9
@@ -97,13 +97,13 @@ export async function runInsomniaTests(
|
||||
const { getSendRequestCallbackMemDb } = require('insomnia-send-request');
|
||||
|
||||
const sendRequest = await getSendRequestCallbackMemDb(environment._id, db, { validateSSL: !disableCertValidation });
|
||||
return await noConsoleLog(() =>
|
||||
runTestsCli(testFileContents, {
|
||||
reporter,
|
||||
bail,
|
||||
keepFile,
|
||||
sendRequest,
|
||||
testFilter: testNamePattern,
|
||||
}),
|
||||
);
|
||||
const res = runTestsCli(testFileContents, {
|
||||
reporter,
|
||||
bail,
|
||||
keepFile,
|
||||
sendRequest,
|
||||
testFilter: testNamePattern,
|
||||
});
|
||||
|
||||
return options.verbose ? res : noConsoleLog(() => res);
|
||||
}
|
||||
Reference in new issue
Block a user