Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-25 10:12:36 +0300
committerPhil Hughes <me@iamphill.com>2017-05-25 10:12:36 +0300
commit710e35378a55d1ff0cdb164f844a9e152c04b3df (patch)
tree8e263cc474d5d44096a12bd3188b2572b75da68f /spec
parentec2130bea8d2ee1b327b0c99b27768cd13bd6cb8 (diff)
Use non-global jQuery reference within raven bundle
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/raven/raven_config_spec.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/javascripts/raven/raven_config_spec.js b/spec/javascripts/raven/raven_config_spec.js
index b31a7c28ebe..c82658b9262 100644
--- a/spec/javascripts/raven/raven_config_spec.js
+++ b/spec/javascripts/raven/raven_config_spec.js
@@ -140,24 +140,6 @@ describe('RavenConfig', () => {
});
});
- describe('bindRavenErrors', () => {
- let $document;
- let $;
-
- beforeEach(() => {
- $document = jasmine.createSpyObj('$document', ['on']);
- $ = jasmine.createSpy('$').and.returnValue($document);
-
- window.$ = $;
-
- RavenConfig.bindRavenErrors();
- });
-
- it('should call .on', function () {
- expect($document.on).toHaveBeenCalledWith('ajaxError.raven', RavenConfig.handleRavenErrors);
- });
- });
-
describe('handleRavenErrors', () => {
let event;
let req;