WA-238 Silence tests' output
This commit is contained in:
parent
a759328f40
commit
23f0af976c
|
@ -65,10 +65,10 @@ describe('React DOM TESTS > Create Safe form', () => {
|
|||
const deployed = TestUtils.findRenderedDOMComponentWithClass(open, DEPLOYED_COMPONENT_ID)
|
||||
|
||||
if (deployed) {
|
||||
const transactionHash = JSON.parse(deployed.getElementsByTagName('pre')[0].innerHTML)
|
||||
delete transactionHash.logsBloom
|
||||
const transaction = JSON.parse(deployed.getElementsByTagName('pre')[0].innerHTML)
|
||||
delete transaction.receipt.logsBloom
|
||||
// eslint-disable-next-line
|
||||
console.log(transactionHash)
|
||||
// console.log(transaction)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
|
@ -28,8 +28,11 @@ export const getProviderInfo: Function = async (): Promise<ProviderProps> => {
|
|||
|
||||
// Use MetaMask's provider.
|
||||
web3 = new Web3(window.web3.currentProvider)
|
||||
// eslint-disable-next-line
|
||||
console.log('Injected web3 detected.')
|
||||
|
||||
if (process.env.NODE_ENV !== 'test') {
|
||||
// eslint-disable-next-line
|
||||
console.log('Injected web3 detected.')
|
||||
}
|
||||
|
||||
const name = isMetamask(web3) ? 'METAMASK' : 'UNKNOWN'
|
||||
const account = await getAccountFrom(web3)
|
||||
|
|
Loading…
Reference in New Issue