From f5d1a04cc80f1bc963c20627177e545be42aeee7 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Sun, 25 Oct 2015 07:14:49 +0000 Subject: [PATCH] test: fix default node ext to js,json @pensierinmusica this was the fix you needed to pass the tests. --- test/cli/exec.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cli/exec.test.js b/test/cli/exec.test.js index 65e67b84..d4cd94fc 100644 --- a/test/cli/exec.test.js +++ b/test/cli/exec.test.js @@ -21,9 +21,9 @@ describe('nodemon exec', function () { it('should default to node', function () { var options = exec({ script: 'index.js' }); var cmd = toCmd(options); - assert(options.exec === 'node', 'exec is node'); - assert(options.ext === 'js'); - assert(cmd.string === 'node index.js', cmd.string); + assert.equal(options.exec, 'node', 'exec is node'); + assert.equal(options.ext, 'js,json'); + assert.equal(cmd.string, 'node index.js', cmd.string); }); it('should support --debug', function () {