Add mocha test bundling with webpack and test running
This commit is contained in:
7
tests/javascript/newsletter_editor/testAjax.js
Normal file
7
tests/javascript/newsletter_editor/testAjax.js
Normal file
@ -0,0 +1,7 @@
|
||||
define('testAjax', [ 'mailpoet', 'ajax'], function(MailPoet) {
|
||||
describe('Ajax submodule', function() {
|
||||
it('has a version', function() {
|
||||
expect(MailPoet.Ajax.version).to.be.a('number');
|
||||
});
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user