/
importer.test.js.snap
95 lines (85 loc) · 1.7 KB
/
importer.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
88
89
90
91
92
93
94
95
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`importer should resolve imports when passed to \`sass\` 1`] = `
"@charset \\"UTF-8\\";
/* @import another/module */
@import url(http://example.com/something/from/the/interwebs);
.another-sass-module {
background: hotpink;
}
/* @import another/underscore */
.underscore {
background: hotpink;
}
/* @import another/_underscore */
.underscore {
background: hotpink;
}
/* @import ~sass/underscore */
.underscore-sass {
background: hotpink;
}
/* @import ~sass/some.module */
.some-sass-module {
background: hotpink;
}
/* @import url(http://example.com/something/from/the/interwebs); */
/* scoped import @import language */
.scoped-import body {
font: 100% Helvetica, sans-serif;
color: #333;
}
.scoped-import nav ul {
margin: 0;
padding: 0;
list-style: none;
}
.scoped-import nav li {
display: inline-block;
}
.scoped-import nav a {
display: block;
padding: 6px 12px;
text-decoration: none;
}
.scoped-import .box {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
border-radius: 10px;
}
.scoped-import .message, .scoped-import .warning, .scoped-import .error, .scoped-import .success {
border: 1px solid #ccc;
padding: 10px;
color: #333;
}
.scoped-import .success {
border-color: green;
}
.scoped-import .error {
border-color: red;
}
.scoped-import .warning {
border-color: yellow;
}
.scoped-import .foo:before {
content: \\"\\";
}
.scoped-import .bar:before {
content: \\"∑\\";
}
/* @import util */
.util {
color: hotpink;
}
/* @import ~module */
.module {
background: hotpink;
}
/* @import ~another */
.another-scss-module-from-node-modules {
background: hotpink;
}
a {
color: red;
}"
`;