forked from webpack-contrib/css-minimizer-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exclude-option.test.js.snap
87 lines (69 loc) · 2.09 KB
/
exclude-option.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`exclude option should match snapshot for a single RegExp value excluded1: assets 1`] = `
{
"entry.css": "body{color:red}a{color:blue}",
"excluded1.css": "a {
text-align: center;
}
",
"excluded2.css": "body{color:red;font-size:20px}a{color:blue}",
}
`;
exports[`exclude option should match snapshot for a single RegExp value excluded1: errors 1`] = `[]`;
exports[`exclude option should match snapshot for a single RegExp value excluded1: warnings 1`] = `[]`;
exports[`exclude option should match snapshot for a single String value excluded1: assets 1`] = `
{
"entry.css": "body{color:red}a{color:blue}",
"excluded1.css": "a {
text-align: center;
}
",
"excluded2.css": "body{color:red;font-size:20px}a{color:blue}",
}
`;
exports[`exclude option should match snapshot for a single String value excluded1: errors 1`] = `[]`;
exports[`exclude option should match snapshot for a single String value excluded1: warnings 1`] = `[]`;
exports[`exclude option should match snapshot for multiple RegExp values excluded1 and excluded2: assets 1`] = `
{
"entry.css": "body{color:red}a{color:blue}",
"excluded1.css": "a {
text-align: center;
}
",
"excluded2.css": "body {
color: red;
}
body {
color: red;
font-size: 20px;
}
a {
color: blue;
}
",
}
`;
exports[`exclude option should match snapshot for multiple RegExp values excluded1 and excluded2: errors 1`] = `[]`;
exports[`exclude option should match snapshot for multiple RegExp values excluded1 and excluded2: warnings 1`] = `[]`;
exports[`exclude option should match snapshot for multiple String values excluded1 and excluded2: assets 1`] = `
{
"entry.css": "body{color:red}a{color:blue}",
"excluded1.css": "a {
text-align: center;
}
",
"excluded2.css": "body {
color: red;
}
body {
color: red;
font-size: 20px;
}
a {
color: blue;
}
",
}
`;
exports[`exclude option should match snapshot for multiple String values excluded1 and excluded2: errors 1`] = `[]`;
exports[`exclude option should match snapshot for multiple String values excluded1 and excluded2: warnings 1`] = `[]`;