diff options
| author | Johann Hubert Sonntagbauer <johann.sonntagbauer@gmail.com> | 2018-10-09 20:30:03 +0200 |
|---|---|---|
| committer | Johann Hubert Sonntagbauer <johann.sonntagbauer@gmail.com> | 2018-10-09 20:30:03 +0200 |
| commit | db4c1f665fb51c64ffb1917503cc6e5b2dd00be8 (patch) | |
| tree | d733f4d8128dc5b49bac022ba080006e16586704 /spec/javascripts/image_diff | |
| parent | 10836664487a771319e2d97dd7b9011dcd017f14 (diff) | |
| download | gitlab-ce-db4c1f665fb51c64ffb1917503cc6e5b2dd00be8.tar.gz | |
enable jasmine/prefer-jasmine-matcher
Diffstat (limited to 'spec/javascripts/image_diff')
| -rw-r--r-- | spec/javascripts/image_diff/helpers/comment_indicator_helper_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/image_diff/helpers/comment_indicator_helper_spec.js b/spec/javascripts/image_diff/helpers/comment_indicator_helper_spec.js index a284b981d2a..9d05c6859df 100644 --- a/spec/javascripts/image_diff/helpers/comment_indicator_helper_spec.js +++ b/spec/javascripts/image_diff/helpers/comment_indicator_helper_spec.js @@ -32,7 +32,7 @@ describe('commentIndicatorHelper', () => { expect(svgEl).toBeDefined(); const svgLink = svgEl.querySelector('use').getAttribute('xlink:href'); - expect(svgLink.indexOf('image-comment-dark') !== -1).toEqual(true); + expect(svgLink.indexOf('image-comment-dark')).not.toBe(-1); }); }); }); |
