test: fix typo
This commit is contained in:
parent
43dbd10046
commit
5937f13bdf
@ -186,7 +186,7 @@ test.serial('Display help', async t => {
|
|||||||
t.is(exitCode, 0);
|
t.is(exitCode, 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test.serial('Returns error code and prints help if called with a command', async t => {
|
test.serial('Return error code and prints help if called with a command', async t => {
|
||||||
const run = stub().resolves(true);
|
const run = stub().resolves(true);
|
||||||
const argv = ['', '', 'pre'];
|
const argv = ['', '', 'pre'];
|
||||||
const cli = requireNoCache('../cli', {'.': run, process: {...process, argv}});
|
const cli = requireNoCache('../cli', {'.': run, process: {...process, argv}});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user