-
-
Notifications
You must be signed in to change notification settings - Fork 384
/
Copy pathvalidate-loader-options.test.js.snap
73 lines (53 loc) · 2.21 KB
/
validate-loader-options.test.js.snap
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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`validate options should throw an error on the "clientLogLevel" option with "{}" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.clientLogLevel should be equal to one of the allowed values
"
`;
exports[`validate options should throw an error on the "clientLogLevel" option with "0" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.clientLogLevel should be equal to one of the allowed values
"
`;
exports[`validate options should throw an error on the "clientLogLevel" option with "1" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.clientLogLevel should be equal to one of the allowed values
"
`;
exports[`validate options should throw an error on the "clientLogLevel" option with "false" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.clientLogLevel should be equal to one of the allowed values
"
`;
exports[`validate options should throw an error on the "clientLogLevel" option with "foo" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.clientLogLevel should be equal to one of the allowed values
"
`;
exports[`validate options should throw an error on the "clientLogLevel" option with "true" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.clientLogLevel should be equal to one of the allowed values
"
`;
exports[`validate options should throw an error on the "esModule" option with "1" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.esModule should be boolean
"
`;
exports[`validate options should throw an error on the "hmr" option with "1" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.hmr should be boolean
"
`;
exports[`validate options should throw an error on the "publicPath" option with "true" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.publicPath should be string
options.publicPath should pass \\"instanceof\\" keyword validation
options.publicPath should match some schema in anyOf
"
`;
exports[`validate options should throw an error on the "reloadAll" option with "1" value 1`] = `
"Mini CSS Extract Plugin Loader Invalid Options
options.reloadAll should be boolean
"
`;