Fixed the issues for all the javascript files reported by the liner.

This commit is contained in:
Ashesh Vashi
2018-04-30 17:51:57 +05:30
parent 31e73f4096
commit c94439bf8e
13 changed files with 131 additions and 132 deletions
@@ -7,8 +7,8 @@
//
//////////////////////////////////////////////////////////////
import $ from 'jquery'
import modifyAnimation from 'sources/modify_animation'
import $ from 'jquery';
import modifyAnimation from 'sources/modify_animation';
describe('modifyAnimation', function () {
@@ -16,12 +16,12 @@ describe('modifyAnimation', function () {
let dummyElement;
beforeEach(() => {
pgBrowser = jasmine.createSpyObj('pgBrowser', ['get_preference', 'tree'])
pgBrowser = jasmine.createSpyObj('pgBrowser', ['get_preference', 'tree']);
pgBrowser.tree = jasmine.createSpyObj('tree', ['options']);
pgBrowser.tree.options.and.returnValue({
show: {},
hide: {},
view: {},
show: {},
hide: {},
view: {},
});
dummyElement = document.createElement('link');
spyOn($.fn, 'find').and.returnValue($(dummyElement));