Workaround for legacy newsletter editor tests after updating chai
Chain newly has to be imported as module and doesn't support CommonJs [MAILPOET-6008]
This commit is contained in:
committed by
Veljko V
parent
ca8f6c64d6
commit
73434e1ef7
@@ -1,16 +1,9 @@
|
||||
var chai = require('chai');
|
||||
var sinon = require('sinon');
|
||||
var sinonChai = require('sinon-chai');
|
||||
var chaiJq = require('chai-jq');
|
||||
var _ = require('underscore');
|
||||
var { JSDOM } = require('jsdom');
|
||||
var URL = require('url').URL;
|
||||
var nodeCrypto = require('crypto');
|
||||
|
||||
chai.use(sinonChai);
|
||||
chai.use(chaiJq);
|
||||
|
||||
global.expect = chai.expect;
|
||||
global.sinon = sinon;
|
||||
global.URL = URL;
|
||||
|
||||
|
Reference in New Issue
Block a user