Skip to content

Commit 85689cf

Browse files
authored
Apply suggestions from code review
1 parent 08f96c3 commit 85689cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/utils/consoleErrorMock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ConsoleErrorMock {
3838
args = () => {
3939
throw new TypeError(
4040
'args() was removed in favor of messages(). ' +
41-
'Use messages to match against the actual error message that will be displayed in the console.',
41+
'Use messages() to match against the actual error message that will be displayed in the console.',
4242
);
4343
};
4444

test/utils/consoleErrorMock.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('consoleErrorMock()', () => {
1414
it('was removed but throws a descriptive error', () => {
1515
assert.throws(
1616
() => consoleErrorMock.args(),
17-
'args() was removed in favor of messages(). Use messages to match against the actual error message that will be displayed in the console.',
17+
'args() was removed in favor of messages(). Use messages() to match against the actual error message that will be displayed in the console.',
1818
);
1919
});
2020
});

0 commit comments

Comments
 (0)