From abeef0aaa743bb54f6bd8ed7d4e294d27383af23 Mon Sep 17 00:00:00 2001 From: nightwing Date: Thu, 6 Aug 2015 19:15:57 +0400 Subject: [PATCH] fix test runner stopping on metrics test --- package.json | 1 + plugins/c9.vfs.standalone/www/test.html | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 65c36093..79ebf12d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/plugins/c9.vfs.standalone/www/test.html b/plugins/c9.vfs.standalone/www/test.html index a3927244..ca9b577c 100644 --- a/plugins/c9.vfs.standalone/www/test.html +++ b/plugins/c9.vfs.standalone/www/test.html @@ -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";