Skip to content

Commit 2503cae

Browse files
authored
Merge pull request ConsenSys-archive#2812 from Kenadia/fix-console-warn
Fix console.warn in truffle test
2 parents 1bc5b04 + 7d0138f commit 2503cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/lib/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const Test = {
5858
// e.g., https://github.com/ethereum/web3.js/blob/master/lib/web3/allevents.js#L61
5959
// Output looks like this during tests: https://gist.github.com/tcoulter/1988349d1ec65ce6b958
6060
const warn = config.logger.warn;
61-
config.logger.warn = message => {
61+
config.logger.warn = function(message) {
6262
if (message === "cannot find event for log") {
6363
return;
6464
} else {

0 commit comments

Comments
 (0)