fix test runner stopping on metrics test

This commit is contained in:
nightwing 2015-08-06 19:15:57 +04:00
parent 89c42d8af2
commit abeef0aaa7
2 changed files with 5 additions and 2 deletions

View File

@ -106,6 +106,7 @@
"c9.ide.run.build": "#ad45874c88",
"c9.ide.run.debug.xdebug": "#3b1520f83d",
"c9.ide.save": "#58b8616a88",
"c9.ide.scm": "#undefined",
"c9.ide.terminal.monitor": "#b0b4d03280",
"c9.ide.theme.flat": "#2de8414db7",
"c9.ide.threewaymerge": "#229382aa0b",

View File

@ -226,8 +226,10 @@
running = false;
lastDone && lastDone();
}
running ? done() : mocha.run(done);
running = true;
if (!running) {
running = true;
mocha.run(done);
}
};
onload.remain = onload.remain == "1";