From 5ec7d838acd559bc2debfac952f8e6e3bfc5fab8 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 25 Apr 2017 12:24:43 +0300 Subject: [PATCH] test(terminal) disabled --- test/server/terminal.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/server/terminal.js b/test/server/terminal.js index 03651faa..42813006 100644 --- a/test/server/terminal.js +++ b/test/server/terminal.js @@ -17,9 +17,8 @@ test('cloudcmd: terminal: disabled', (t) => { const terminal = require('../../server/terminal'); const fn = terminal(); - const noop = () => {}; - t.equal(String(fn), String(noop), 'should return noop'); + t.notOk(fn(), 'should return noop'); clean(configPath); require(configPath);