Fix order of definitions, remove unnecesary vars
[MAILPOET-1829]
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
/* eslint-disable-next-line max-len (ES6 -> CommonJS transform needed for inject-loader) */
|
||||
import CommunicationInjector from 'inject-loader!babel-loader?plugins[]=@babel/plugin-transform-modules-commonjs!newsletter_editor/components/communication';
|
||||
|
||||
const expect = global.expect;
|
||||
const jQuery = global.jQuery;
|
||||
const sinon = global.sinon;
|
||||
|
||||
/* eslint-disable-next-line max-len (ES6 -> CommonJS transform needed for inject-loader) */
|
||||
import CommunicationInjector from 'inject-loader!babel-loader?plugins[]=@babel/plugin-transform-modules-commonjs!newsletter_editor/components/communication';
|
||||
|
||||
describe('getPostTypes', function () {
|
||||
it('fetches post types from the server', function () {
|
||||
var module = CommunicationInjector({
|
||||
|
Reference in New Issue
Block a user