Skip to content

Commit

Permalink
test: fix default node ext to js,json
Browse files Browse the repository at this point in the history
@pensierinmusica this was the fix you needed to pass the tests.
  • Loading branch information
remy committed Oct 25, 2015
1 parent 9c6e5eb commit f5d1a04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/cli/exec.test.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit f5d1a04

Please sign in to comment.