mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 14:56:35 +02:00
Clean code.
This commit is contained in:
@@ -38,7 +38,7 @@ function onEnd() {
|
||||
}
|
||||
|
||||
var count = 0;
|
||||
function onTest() {
|
||||
function onTestEnd() {
|
||||
|
||||
if (count % 25 === 0) {
|
||||
update();
|
||||
@@ -56,7 +56,7 @@ function setupMocha() {
|
||||
function runMocha() {
|
||||
|
||||
mocha.run()
|
||||
.on('test', onTest)
|
||||
.on('test end', onTestEnd)
|
||||
.on('end', onEnd);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user