Skip to content

Commit 61106e4

Browse files
committed
Add test for options.verbose
1 parent 14caae5 commit 61106e4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/index.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,18 @@ describe('gulp-shell(commands, options)', () => {
109109
})
110110
})
111111

112+
describe('verbose', () => {
113+
it('prints the command', done => {
114+
const stream = shell(['echo you can see me twice'], {
115+
verbose: true
116+
})
117+
118+
expectToBeOk(stream, done)
119+
120+
stream.write(fakeFile)
121+
})
122+
})
123+
112124
describe('ignoreErrors', () => {
113125
it('emits error by default', done => {
114126
const stream = shell(['false'])

0 commit comments

Comments
 (0)