UNPKG
todo
Version:
latest (1.1.0)
1.1.0
1.0.1
1.0.0
0.10.0
0.9.9
0.0.3
0.0.2
0.0.1
Todos in the CLI like what.
github.com/vesln/todo
vesln/todo
todo
/
test
/
acceptance
/
unrecognized.js
10 lines
(9 loc)
•
245 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
describe(
'todo unrecognized-command'
,
function
()
{ it(
'errors with useful message'
,
function
(done)
{ cli() .run(
'todo this-is-invalid'
) .
stderr
(
'todo: Unrecognized command "this-is-invalid"'
) .code(
1
) .
end
(done); }); });