Fix undefined underscore in newsletter editor tests
[MAILPOET-3673]
This commit is contained in:
committed by
Jan Lysý
parent
9a24aa07f4
commit
863c0b4172
@@ -32,6 +32,7 @@ const jQuery = require('jquery');
|
|||||||
global.$ = jQuery;
|
global.$ = jQuery;
|
||||||
global.jQuery = jQuery;
|
global.jQuery = jQuery;
|
||||||
global.window.jQuery = jQuery;
|
global.window.jQuery = jQuery;
|
||||||
|
global._ = _;
|
||||||
|
|
||||||
testHelpers.loadScript('tests/javascript_newsletter_editor/testBundles/vendor.js', global.window);
|
testHelpers.loadScript('tests/javascript_newsletter_editor/testBundles/vendor.js', global.window);
|
||||||
const Handlebars = global.window.Handlebars;
|
const Handlebars = global.window.Handlebars;
|
||||||
|
Reference in New Issue
Block a user