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

@@ -26,3 +26,5 @@ if (!global.document || !global.window) {
return this.compareDocumentPosition(node) & 16;
};
}
global.$ = global.jQuery = global.window.jQuery = require('../../node_modules/jquery/dist/jquery.js');