Add mocha test bundling with webpack and test running

This commit is contained in:
Tautvidas Sipavičius
2015-08-13 14:11:10 +03:00
parent e01316f9f3
commit 7a43980f32
5 changed files with 43 additions and 4 deletions

View 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');
});
});
});