Skip to content

Commit

Permalink
Suppress duplicate defn logs in hardhat test (#5790)
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd authored Jan 26, 2022
1 parent 3dc220a commit f5c7607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contracts/test/test-helpers/setup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { ethers } from 'hardhat'
// Suppress "Duplicate definition" error logs
ethers.utils.Logger.setLogLevel(ethers.utils.Logger.levels.ERROR)

import { Signer } from 'ethers'

export interface Contracts {
Expand Down

0 comments on commit f5c7607

Please sign in to comment.