Fix Element not defined in tests in tinymce
[MAILPOET-3673]
This commit is contained in:
committed by
Jan Lysý
parent
b8f1124ef5
commit
9a24aa07f4
@@ -36,6 +36,8 @@ global.window.jQuery = jQuery;
|
|||||||
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;
|
||||||
global.Handlebars = global.window.Handlebars;
|
global.Handlebars = global.window.Handlebars;
|
||||||
|
// Fix global access element. It is used in tinymce
|
||||||
|
global.Element = global.window.Element;
|
||||||
|
|
||||||
// Stub out interact.js
|
// Stub out interact.js
|
||||||
global.interact = function () {
|
global.interact = function () {
|
||||||
|
Reference in New Issue
Block a user