diff options
Diffstat (limited to 'spec/frontend/matchers_spec.js')
-rw-r--r-- | spec/frontend/matchers_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/matchers_spec.js b/spec/frontend/matchers_spec.js index 0a2478f978a..dfd6f754c72 100644 --- a/spec/frontend/matchers_spec.js +++ b/spec/frontend/matchers_spec.js @@ -3,7 +3,7 @@ describe('Custom jest matchers', () => { describe('malformed input', () => { it.each([null, 1, Symbol, Array, Object])( 'fails graciously if the expected value is %s', - expected => { + (expected) => { expect(expected).not.toMatchInterpolatedText('null'); }, ); @@ -11,7 +11,7 @@ describe('Custom jest matchers', () => { describe('malformed matcher', () => { it.each([null, 1, Symbol, Array, Object])( 'fails graciously if the matcher is %s', - matcher => { + (matcher) => { expect('null').not.toMatchInterpolatedText(matcher); }, ); |