summaryrefslogtreecommitdiff
path: root/spec/javascripts/pdf
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-07-24 14:27:59 +0200
committerWinnie Hellmann <winnie@gitlab.com>2018-07-24 14:27:59 +0200
commit7a870e4045c9a6228c58fe05c6348c5aef924d71 (patch)
tree88ec97a4c252663f35b00b059a9ffad81dd6a001 /spec/javascripts/pdf
parentf6d13ef53aa50541ec0c751156424d7c49bf3322 (diff)
downloadgitlab-ce-7a870e4045c9a6228c58fe05c6348c5aef924d71.tar.gz
Enable no-console ESLint rule for testswinh-lint-console-tests
Diffstat (limited to 'spec/javascripts/pdf')
-rw-r--r--spec/javascripts/pdf/page_spec.js2
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);
});
});