Convert AMD and CommonJS odules to ES6
[MAILPOET-1829]
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
const expect = global.expect;
|
||||
const Backbone = global.Backbone;
|
||||
|
||||
define([
|
||||
'newsletter_editor/App',
|
||||
'newsletter_editor/components/heading'
|
||||
], function (EditorApplication, HeadingComponent) {
|
||||
import EditorApplication from 'newsletter_editor/App';
|
||||
import HeadingComponent from 'newsletter_editor/components/heading';
|
||||
|
||||
describe('Heading', function () {
|
||||
describe('view', function () {
|
||||
var view;
|
||||
@@ -46,4 +45,3 @@ define([
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user