Simplify test/unittests.html removing old stuff related to phantomjs

This commit is contained in:
Giovanni Pellerano 2016-06-26 11:35:43 +02:00
parent ee22c023f1
commit f8c5c84469

View File

@ -20,13 +20,9 @@
</script>
<script src="lib/unittests-bundle.js"></script>
<script>
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
var runner = mocha.run();
var failedTests = [];
runner.on('end', function(){
window.mochaResults = runner.stats;
window.mochaResults.reports = failedTests;
@ -46,7 +42,6 @@
};
runner.on('fail', logFailure);
}
</script>
</body>
</html>