Skip to content

Commit

Permalink
Revert "[test] Remove dead method"
Browse files Browse the repository at this point in the history
This reverts commit 804433e.
  • Loading branch information
oliviertassinari committed Mar 15, 2020
1 parent 45a549b commit 700d550
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/utils/consoleErrorMock.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ class ConsoleErrorMock {
throw new Error('Requested call count before spy() was called');
};

args = () => {
throw new TypeError(
'args() was removed in favor of messages(). ' +
'Use messages() to match against the actual error message that will be displayed in the console.',
);
};

/**
* returns the formatted message for each call
*
Expand Down

0 comments on commit 700d550

Please sign in to comment.