mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 12:07:10 -04:00
Clean code.
This commit is contained in:
parent
60b366a7f4
commit
b2c4802310
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue