xmpp.chapril.org-conversejs/tests_main.js
JC Brand 85e419afc5 Add test.html for loading tests in browser and tests_main.js for calling them
Also add flush method to converse.js (used in ClientStorage tests)
2012-12-08 07:24:34 +02:00

18 lines
426 B
JavaScript

require(["jquery",
"spec/StorageSpec"], function($) {
$(function($) {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
jasmineEnv.execute();
});
});