Skip to content

Commit 1d87de6

Browse files
test(e2e): updated ava snapshots
1 parent 02251a4 commit 1d87de6

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

e2e/index.js.md

+24-24
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ The actual snapshot is saved in `index.js.snap`.
44

55
Generated by [AVA](https://ava.li).
66

7+
## rejects promise due to error on passing in an unknown command
8+
9+
> Snapshot 1
10+
11+
`Usage: docsify <init|serve> <path>␊
12+
13+
Commands:␊
14+
docsify init [path] Creates new docs␊
15+
docsify serve [path] Run local server to preview site.␊
16+
docsify start <path> Server for SSR␊
17+
18+
Global Options␊
19+
--help, -h Show help [boolean]␊
20+
--version, -v Show version number [boolean]␊
21+
22+
Documentation:␊
23+
https://docsifyjs.github.io/docsify␊
24+
https://docsifyjs.github.io/docsify-cli␊
25+
26+
Development:␊
27+
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md␊
28+
29+
Unknown argument: junkcmd`
30+
731
## shows help with --help flag
832

933
> Snapshot 1
@@ -89,27 +113,3 @@ Generated by [AVA](https://ava.li).
89113
docsify-cli version:␊
90114
4.4.0␊
91115
`
92-
93-
## rejects promise due to error on passing in an unknown command
94-
95-
> Snapshot 1
96-
97-
`Usage: docsify <init|serve> <path>␊
98-
99-
Commands:␊
100-
docsify init [path] Creates new docs␊
101-
docsify serve [path] Run local server to preview site.␊
102-
docsify start <path> Server for SSR␊
103-
104-
Global Options␊
105-
--help, -h Show help [boolean]␊
106-
--version, -v Show version number [boolean]␊
107-
108-
Documentation:␊
109-
https://docsifyjs.github.io/docsify␊
110-
https://docsifyjs.github.io/docsify-cli␊
111-
112-
Development:␊
113-
https://github.com/docsifyjs/docsify-cli/blob/master/CONTRIBUTING.md␊
114-
115-
Unknown argument: junkcmd`

e2e/index.js.snap

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)