difftreelog
Remove logs from the console
in: master
3 files changed
tests/src/substrate/substrate-api.tsdiffbeforeafterboth85 for (const arg of args) {85 for (const arg of args) {86 if (typeof arg !== 'string')86 if (typeof arg !== 'string')87 continue;87 continue;88 if (arg.includes('1000:: Normal connection closure' || arg === 'Normal connection closure'))88 if (arg.includes('1000:: Normal connection closure') || arg.includes('Not decorating unknown runtime apis:') || arg.includes('RPC methods not decorated:') || arg === 'Normal connection closure')89 return;89 return;90 }90 }91 printer(...args);91 printer(...args);tests/src/util/playgrounds/index.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/index.ts
+++ b/tests/src/util/playgrounds/index.ts
@@ -26,7 +26,7 @@
for (const arg of args) {
if (typeof arg !== 'string')
continue;
- if (arg.includes('1000:: Normal connection closure' || arg === 'Normal connection closure'))
+ if (arg.includes('1000:: Normal connection closure') || arg.includes('Not decorating unknown runtime apis:') || arg.includes('RPC methods not decorated:') || arg === 'Normal connection closure')
return;
}
printer(...args);
@@ -49,4 +49,4 @@
console.log = consoleLog;
console.warn = consoleWarn;
}
-};
\ No newline at end of file
+};
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -103,7 +103,6 @@
let accountsCreated = false;
// checkBalances retry up to 5 blocks
for (let index = 0; index < 5; index++) {
- console.log(await this.helper.chain.getLatestBlockNumber());
accountsCreated = await checkBalances();
if(accountsCreated) break;
await this.waitNewBlocks(1);