Skip to content

Commit cdabb61

Browse files
author
whyboris
committed
update tests for ignore flag
1 parent ec4b429 commit cdabb61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cli-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ describe('Cli', function() {
1010
describe('getInput', function() {
1111
it('should readFile when inputType is `file`', function() {
1212
let spy = sinon.stub(Utils, 'readFile');
13-
Cli.getInput('file', ['lol', 'foo'], 'callback');
13+
Cli.getInput('file', ['lol', 'foo'], 'ignore', 'callback');
1414
assert(spy.calledOnce);
1515
assert(spy.calledWith('lol', 'callback'));
1616
spy.restore()
1717
});
1818

1919
it('should readStdin when inputType is `stdin`', function() {
2020
let spy = sinon.stub(Utils, 'readStdin');
21-
Cli.getInput('stdin', ['lol'], 'callback');
21+
Cli.getInput('stdin', ['lol'], 'ignore', 'callback');
2222
assert(spy.calledOnce);
2323
assert(spy.calledWith('callback'));
2424
});

0 commit comments

Comments
 (0)