Skip to content

Commit 1e4d55b

Browse files
Merge pull request #123 from alphagov/separate-tests-per-config
2 parents 0648f3e + 8f31ae3 commit 1e4d55b

6 files changed

Lines changed: 389 additions & 365 deletions

File tree

Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2+
3+
exports[`CSS rules matches snapshots 1`] = `
4+
{
5+
"rules": {
6+
"alpha-value-notation": [
7+
"number",
8+
],
9+
"annotation-no-unknown": [
10+
true,
11+
],
12+
"at-rule-empty-line-before": null,
13+
"at-rule-no-unknown": [
14+
true,
15+
],
16+
"at-rule-no-vendor-prefix": null,
17+
"block-no-empty": [
18+
true,
19+
],
20+
"color-function-notation": [
21+
"legacy",
22+
],
23+
"color-hex-length": [
24+
"long",
25+
],
26+
"color-named": [
27+
"never",
28+
],
29+
"color-no-invalid-hex": [
30+
true,
31+
],
32+
"comment-empty-line-before": [
33+
"always",
34+
{
35+
"except": [
36+
"first-nested",
37+
],
38+
"ignore": [
39+
"stylelint-commands",
40+
],
41+
},
42+
],
43+
"comment-no-empty": [
44+
true,
45+
],
46+
"comment-whitespace-inside": [
47+
"always",
48+
],
49+
"custom-media-pattern": [
50+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
51+
{
52+
"message": [Function],
53+
},
54+
],
55+
"custom-property-empty-line-before": [
56+
"always",
57+
{
58+
"except": [
59+
"after-custom-property",
60+
"first-nested",
61+
],
62+
"ignore": [
63+
"after-comment",
64+
"inside-single-line-block",
65+
],
66+
},
67+
],
68+
"custom-property-no-missing-var-function": [
69+
true,
70+
],
71+
"custom-property-pattern": [
72+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
73+
{
74+
"message": [Function],
75+
},
76+
],
77+
"declaration-block-no-duplicate-custom-properties": [
78+
true,
79+
],
80+
"declaration-block-no-duplicate-properties": [
81+
true,
82+
{
83+
"ignore": [
84+
"consecutive-duplicates-with-different-syntaxes",
85+
],
86+
},
87+
],
88+
"declaration-block-no-redundant-longhand-properties": null,
89+
"declaration-block-no-shorthand-property-overrides": [
90+
true,
91+
],
92+
"declaration-block-single-line-max-declarations": [
93+
0,
94+
],
95+
"declaration-empty-line-before": null,
96+
"declaration-no-important": [
97+
true,
98+
],
99+
"declaration-property-value-disallowed-list": [
100+
{
101+
"/transition/": [
102+
"/all/",
103+
],
104+
},
105+
],
106+
"font-family-name-quotes": [
107+
"always-where-recommended",
108+
],
109+
"font-family-no-duplicate-names": [
110+
true,
111+
],
112+
"font-family-no-missing-generic-family-keyword": [
113+
true,
114+
],
115+
"function-calc-no-unspaced-operator": [
116+
true,
117+
],
118+
"function-linear-gradient-no-nonstandard-direction": [
119+
true,
120+
],
121+
"function-name-case": [
122+
"lower",
123+
],
124+
"function-no-unknown": [
125+
true,
126+
],
127+
"function-url-no-scheme-relative": [
128+
true,
129+
],
130+
"function-url-quotes": [
131+
"always",
132+
],
133+
"function-url-scheme-allowed-list": [
134+
[
135+
"data",
136+
],
137+
],
138+
"hue-degree-notation": [
139+
"angle",
140+
],
141+
"import-notation": [
142+
"url",
143+
],
144+
"keyframe-block-no-duplicate-selectors": [
145+
true,
146+
],
147+
"keyframe-declaration-no-important": [
148+
true,
149+
],
150+
"keyframe-selector-notation": [
151+
"percentage-unless-within-keyword-only-block",
152+
],
153+
"keyframes-name-pattern": [
154+
"^([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
155+
{
156+
"message": [Function],
157+
},
158+
],
159+
"length-zero-no-unit": [
160+
true,
161+
{
162+
"ignore": [
163+
"custom-properties",
164+
],
165+
},
166+
],
167+
"lightness-notation": [
168+
"percentage",
169+
],
170+
"max-nesting-depth": [
171+
2,
172+
{
173+
"ignore": [
174+
"blockless-at-rules",
175+
"pseudo-classes",
176+
],
177+
},
178+
],
179+
"media-feature-name-no-unknown": [
180+
true,
181+
],
182+
"media-feature-name-no-vendor-prefix": null,
183+
"media-feature-range-notation": [
184+
"prefix",
185+
],
186+
"media-query-no-invalid": [
187+
true,
188+
],
189+
"named-grid-areas-no-invalid": [
190+
true,
191+
],
192+
"no-descending-specificity": null,
193+
"no-duplicate-at-import-rules": [
194+
true,
195+
],
196+
"no-duplicate-selectors": [
197+
true,
198+
],
199+
"no-empty-source": [
200+
true,
201+
],
202+
"no-invalid-double-slash-comments": [
203+
true,
204+
],
205+
"no-invalid-position-at-import-rule": [
206+
true,
207+
],
208+
"no-irregular-whitespace": [
209+
true,
210+
],
211+
"number-max-precision": [
212+
4,
213+
],
214+
"property-no-unknown": [
215+
true,
216+
],
217+
"property-no-vendor-prefix": null,
218+
"rule-empty-line-before": [
219+
"always-multi-line",
220+
{
221+
"except": [
222+
"first-nested",
223+
],
224+
"ignore": [
225+
"after-comment",
226+
],
227+
},
228+
],
229+
"selector-anb-no-unmatchable": [
230+
true,
231+
],
232+
"selector-attribute-quotes": [
233+
"always",
234+
],
235+
"selector-class-pattern": [
236+
/\\^\\[a-z\\]\\(\\[a-z0-9-_!\\]\\)\\*\\$/,
237+
{
238+
"message": "Class names may only contain [a-z0-9-_!] characters and must start with [a-z]",
239+
"resolveNestedSelectors": true,
240+
},
241+
],
242+
"selector-id-pattern": [
243+
/\\^\\[a-z\\]\\(\\[a-z0-9-\\]\\)\\*\\$/,
244+
{
245+
"message": "Ids may only contain [a-z0-9-] characters and must start with [a-z]",
246+
"resolveNestedSelectors": true,
247+
},
248+
],
249+
"selector-max-id": [
250+
0,
251+
],
252+
"selector-no-qualifying-type": [
253+
true,
254+
{
255+
"ignore": [
256+
"attribute",
257+
],
258+
},
259+
],
260+
"selector-no-vendor-prefix": null,
261+
"selector-not-notation": [
262+
"simple",
263+
],
264+
"selector-pseudo-class-no-unknown": [
265+
true,
266+
],
267+
"selector-pseudo-element-colon-notation": [
268+
"double",
269+
],
270+
"selector-pseudo-element-no-unknown": [
271+
true,
272+
],
273+
"selector-type-case": [
274+
"lower",
275+
],
276+
"selector-type-no-unknown": [
277+
true,
278+
{
279+
"ignore": [
280+
"custom-elements",
281+
],
282+
},
283+
],
284+
"shorthand-property-no-redundant-values": [
285+
true,
286+
],
287+
"string-no-newline": [
288+
true,
289+
],
290+
"unit-no-unknown": [
291+
true,
292+
],
293+
"value-keyword-case": [
294+
"lower",
295+
],
296+
"value-no-vendor-prefix": null,
297+
},
298+
}
299+
`;

0 commit comments

Comments
 (0)