-
-
Notifications
You must be signed in to change notification settings - Fork 591
/
unknown.test.js.snap.webpack4
168 lines (122 loc) · 8.59 KB
/
unknown.test.js.snap.webpack4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`unknown behaviour should log an error if an unknown flag is passed #2: stderr 1`] = `
"[webpack-cli] Error: Unknown option '-u'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed #2: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed #3: stderr 1`] = `
"[webpack-cli] Error: Unknown option '-u'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed #3: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed #4: stderr 1`] = `
"[webpack-cli] Error: Unknown option '-u'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed #4: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed #5: stderr 1`] = `
"[webpack-cli] Error: Unknown option '-u'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed #5: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and includes =: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown=foo'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and includes =: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag #2: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--output-fileneme'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag #2: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag #3: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--output-library-auxiliary-comment-commnjs'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag #3: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "b" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--entyr'
[webpack-cli] Did you mean '--entry'?
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "b" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "bundle" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--entyr'
[webpack-cli] Did you mean '--entry'?
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "bundle" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "i" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--outpyt'
[webpack-cli] Did you mean '--output'?
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "i" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "info" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--outpyt'
[webpack-cli] Did you mean '--output'?
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag using "info" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--entyr'
[webpack-cli] Did you mean '--entry'?
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed and suggests the closest match to an unknown flag: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "b" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "b" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "bundle" command #2: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "bundle" command #2: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "bundle" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "bundle" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "i" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "i" command: stderr 2`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "i" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "i" command: stdout 2`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "info" command: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed using "info" command: stdout 1`] = `""`;
exports[`unknown behaviour should log an error if an unknown flag is passed: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log an error if an unknown flag is passed: stdout 1`] = `""`;
exports[`unknown behaviour should log error and provide suggestion if an unknown command passed: stderr 1`] = `
"[webpack-cli] Unknown command or entry 'serverr'
[webpack-cli] Did you mean 'serve' (alias 'server, s')?
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log error and provide suggestion if an unknown command passed: stdout 1`] = `""`;
exports[`unknown behaviour should log error and respect --color flag: stderr 1`] = `
"[webpack-cli] [31mError: Unknown option '--unknown'[39m
[webpack-cli] [31mRun 'webpack --help' to see available commands and options[39m"
`;
exports[`unknown behaviour should log error and respect --color flag: stdout 1`] = `""`;
exports[`unknown behaviour should log error for unknown flag and respect --no-color: stderr 1`] = `
"[webpack-cli] Error: Unknown option '--unknown'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log error for unknown flag and respect --no-color: stdout 1`] = `""`;
exports[`unknown behaviour should log error if an unknown command passed: stderr 1`] = `
"[webpack-cli] Unknown command or entry 'qqq'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`unknown behaviour should log error if an unknown command passed: stdout 1`] = `""`;