Fix undefined underscore in newsletter editor tests

[MAILPOET-3673]
This commit is contained in:
Rostislav Wolny
2021-07-01 16:22:35 +02:00
committed by Jan Lysý
parent 9a24aa07f4
commit 863c0b4172

View File

@@ -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;