Skip to content

Commit a1109f3

Browse files
committed
update
1 parent 6448a4e commit a1109f3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

e2e/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ test('rejects promise due to error on passing in an unknown command', async t =>
2727
})
2828

2929
test('init the docs directory', async t => {
30-
const {stdout} = await execa(rootCommand, ['init', './test_docs'], {reject: false})
31-
t.snapshot(stdout)
30+
// If you get `./test_docs already exists.`, delete the test_docs directory manually.
31+
const {stdout} = await execa(rootCommand, ['init', './test_docs'], {reject: false, timeout: 3000})
32+
t.snapshot(stdout)
3233
})
3334

3435
test('init the docs directory twice', async t => {

e2e/index.js.snap

5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)