We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4caaa4 commit 65c1a06Copy full SHA for 65c1a06
test/index.test.js
@@ -25,6 +25,11 @@ it('test cleanSelector', () => {
25
}
26
*,:after,:before{
27
box-sizing:inherit;
28
+ }
29
+ @media print {
30
+ body {
31
+ display: block;
32
33
}`;
34
const output = ``;
35
const options = {};
@@ -41,10 +46,19 @@ it('test cleanSelector with options', () => {
41
46
42
47
bbb {
43
48
margin: 100px
49
50
+ @media screen and (max-width: 300px) {
51
52
53
44
54
45
55
56
const options = {
- cleanSelector: ['aaa', 'bbb', '*']
57
+ cleanSelector: ['aaa', 'bbb', '*'],
58
+ cleanAtRule: [{
59
+ name: 'media',
60
+ params: [/screen/]
61
+ }]
62
};
63
return run(input, output, options);
64
});
0 commit comments