diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-07-24 15:27:59 +0300 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-07-24 15:27:59 +0300 |
commit | 7a870e4045c9a6228c58fe05c6348c5aef924d71 (patch) | |
tree | 88ec97a4c252663f35b00b059a9ffad81dd6a001 /spec/javascripts/pdf | |
parent | f6d13ef53aa50541ec0c751156424d7c49bf3322 (diff) |
Enable no-console ESLint rule for tests
Diffstat (limited to 'spec/javascripts/pdf')
-rw-r--r-- | spec/javascripts/pdf/page_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/pdf/page_spec.js b/spec/javascripts/pdf/page_spec.js index 9c686748c10..ff1bfd7f650 100644 --- a/spec/javascripts/pdf/page_spec.js +++ b/spec/javascripts/pdf/page_spec.js @@ -30,7 +30,7 @@ describe('Page component', () => { done(); }) .catch((error) => { - console.error(error); + done.fail(error); }); }); |