1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` validate options should throw an error on the "attributes" option with "true" value 1` ] = `
4
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
4
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
5
5
- options.attributes should be an object:
6
6
object { … }
7
7
-> Adds custom attributes to tag (https://github.com/webpack-contrib/style-loader#attributes)."
8
8
` ;
9
9
10
10
exports [` validate options should throw an error on the "esModule" option with "true" value 1` ] = `
11
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
11
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
12
12
- options.esModule should be a boolean.
13
13
-> Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule)."
14
14
` ;
15
15
16
16
exports [` validate options should throw an error on the "injectType" option with "unknown" value 1` ] = `
17
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
17
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
18
18
- options.injectType should be one of these:
19
19
\\ "styleTag\\ " | \\ "singletonStyleTag\\ " | \\ "lazyStyleTag\\ " | \\ "lazySingletonStyleTag\\ " | \\ "linkTag\\ "
20
20
-> Allows to setup how styles will be injected into DOM (https://github.com/webpack-contrib/style-loader#injecttype)."
21
21
` ;
22
22
23
23
exports [` validate options should throw an error on the "insert" option with "true" value 1` ] = `
24
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
24
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
25
25
- options.insert should be one of these:
26
26
string | function
27
27
-> Inserts \` <style >\`/\`<link >\` at the given position (https://github.com/webpack-contrib/style-loader#insert).
@@ -31,49 +31,49 @@ exports[`validate options should throw an error on the "insert" option with "tru
31
31
`;
32
32
33
33
exports[`validate options should throw an error on the "unknown" option with "/test/" value 1`] = `
34
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
34
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
35
35
- options has an unknown property 'unknown'. These properties are valid:
36
36
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
37
37
`;
38
38
39
39
exports [` validate options should throw an error on the "unknown" option with "[]" value 1` ] = `
40
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
40
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
41
41
- options has an unknown property 'unknown'. These properties are valid:
42
42
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
43
43
`;
44
44
45
45
exports [` validate options should throw an error on the "unknown" option with "{ " foo" :" bar" } " value 1` ] = `
46
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
46
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
47
47
- options has an unknown property 'unknown'. These properties are valid:
48
48
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
49
49
`;
50
50
51
51
exports [` validate options should throw an error on the "unknown" option with "{ } " value 1` ] = `
52
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
52
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
53
53
- options has an unknown property 'unknown'. These properties are valid:
54
54
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
55
55
`;
56
56
57
57
exports [` validate options should throw an error on the "unknown" option with "1" value 1` ] = `
58
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
58
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
59
59
- options has an unknown property 'unknown'. These properties are valid:
60
60
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
61
61
`;
62
62
63
63
exports [` validate options should throw an error on the "unknown" option with "false" value 1` ] = `
64
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
64
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
65
65
- options has an unknown property 'unknown'. These properties are valid:
66
66
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
67
67
`;
68
68
69
69
exports [` validate options should throw an error on the "unknown" option with "test" value 1` ] = `
70
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
70
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
71
71
- options has an unknown property 'unknown'. These properties are valid:
72
72
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
73
73
`;
74
74
75
75
exports [` validate options should throw an error on the "unknown" option with "true" value 1` ] = `
76
- "Invalid options object. Style Loader has been initialised using an options object that does not match the API schema.
76
+ "Invalid options object. Style Loader has been initialized using an options object that does not match the API schema.
77
77
- options has an unknown property 'unknown'. These properties are valid:
78
78
object { injectType ? , attributes ? , insert ? , base ? , esModule ? }"
79
79
`;
0 commit comments