Fix no-multi-assign in tests
[MAILPOET-1033]
This commit is contained in:
@ -22,7 +22,6 @@
|
|||||||
"semi": 0,
|
"semi": 0,
|
||||||
"keyword-spacing": 0,
|
"keyword-spacing": 0,
|
||||||
"no-bitwise": 0,
|
"no-bitwise": 0,
|
||||||
"no-multi-assign": 0,
|
|
||||||
"newline-per-chained-call": 0,
|
"newline-per-chained-call": 0,
|
||||||
"no-spaced-func": 0,
|
"no-spaced-func": 0,
|
||||||
"func-call-spacing": 0,
|
"func-call-spacing": 0,
|
||||||
|
@ -28,7 +28,9 @@ if (!global.document || !global.window) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
global.testHelpers = require('./loadHelpers.js');
|
global.testHelpers = require('./loadHelpers.js');
|
||||||
global.$ = global.jQuery = global.window.jQuery = require('jquery');
|
global.$ = require('jquery');
|
||||||
|
global.jQuery = require('jquery');
|
||||||
|
global.window.jQuery = require('jquery');
|
||||||
|
|
||||||
testHelpers.loadScript('tests/javascript/testBundles/vendor.js', global.window);
|
testHelpers.loadScript('tests/javascript/testBundles/vendor.js', global.window);
|
||||||
global.Handlebars = global.window.Handlebars;
|
global.Handlebars = global.window.Handlebars;
|
||||||
@ -46,8 +48,8 @@ global.interact = function () {
|
|||||||
styleCursor: global.interact
|
styleCursor: global.interact
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
global.spectrum = function() { return this; };
|
||||||
jQuery.fn.spectrum = global.spectrum = function() { return this; };
|
jQuery.fn.spectrum = global.spectrum;
|
||||||
jQuery.fn.stick_in_parent = function() { return this; };
|
jQuery.fn.stick_in_parent = function() { return this; };
|
||||||
|
|
||||||
// Add global stubs for convenience
|
// Add global stubs for convenience
|
||||||
|
Reference in New Issue
Block a user