diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-25 10:12:36 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-25 10:12:36 +0300 |
commit | 710e35378a55d1ff0cdb164f844a9e152c04b3df (patch) | |
tree | 8e263cc474d5d44096a12bd3188b2572b75da68f /spec/javascripts/raven/raven_config_spec.js | |
parent | ec2130bea8d2ee1b327b0c99b27768cd13bd6cb8 (diff) |
Use non-global jQuery reference within raven bundle
Diffstat (limited to 'spec/javascripts/raven/raven_config_spec.js')
-rw-r--r-- | spec/javascripts/raven/raven_config_spec.js | 18 |
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; |