We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6e5eb commit f5d1a04Copy full SHA for f5d1a04
test/cli/exec.test.js
@@ -21,9 +21,9 @@ describe('nodemon exec', function () {
21
it('should default to node', function () {
22
var options = exec({ script: 'index.js' });
23
var cmd = toCmd(options);
24
- assert(options.exec === 'node', 'exec is node');
25
- assert(options.ext === 'js');
26
- 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);
27
});
28
29
it('should support --debug', function () {
0 commit comments