From ff92b4e3d84c01447519bbb5e584c6c0e66093ec Mon Sep 17 00:00:00 2001 From: nightwing Date: Mon, 6 Jun 2016 01:07:20 +0400 Subject: [PATCH] fix monitor test --- package.json | 2 +- plugins/c9.ide.terminal/terminal_test.js | 2 +- plugins/c9.vfs.standalone/www/test.js | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 19f097d5..5cfdcee4 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "c9.ide.run.debug.xdebug": "#9956689819", "c9.ide.save": "#25a63f31e2", "c9.ide.scm": "#637a68cd04", - "c9.ide.terminal.monitor": "#affa33572f", + "c9.ide.terminal.monitor": "#5a6a54ce24", "c9.ide.test": "#102942ae4e", "c9.ide.test.mocha": "#38151a98c3", "c9.ide.theme.flat": "#81dadeee55", diff --git a/plugins/c9.ide.terminal/terminal_test.js b/plugins/c9.ide.terminal/terminal_test.js index aa4c2220..3c967744 100644 --- a/plugins/c9.ide.terminal/terminal_test.js +++ b/plugins/c9.ide.terminal/terminal_test.js @@ -13,7 +13,6 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"], function (arc debug: true, hosted: true, local: false, - davPrefix: "/" }, "plugins/c9.core/ext", @@ -127,6 +126,7 @@ require(["lib/architect/architect", "lib/chai/chai", "/vfs-root"], function (arc // Kill connection session.pty.kill(); + session.doc.editor.focus(); }); it.skip('should reconnect when the session has been lost', function(done) { diff --git a/plugins/c9.vfs.standalone/www/test.js b/plugins/c9.vfs.standalone/www/test.js index 73255d54..3063fc79 100644 --- a/plugins/c9.vfs.standalone/www/test.js +++ b/plugins/c9.vfs.standalone/www/test.js @@ -530,6 +530,12 @@ require([ x.unregister = function(){}; return x; })(), + "terminal.monitor.message_view": (function(){ + var x = new EventEmitter(); + x.show = function(){}; + x.hide = function(){}; + return x; + })() }); };