Simplify test/unittests.html removing old stuff related to phantomjs
This commit is contained in:
parent
ee22c023f1
commit
f8c5c84469
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user