Skip to content

Commit 208c67e

Browse files
committed
Add test for no specified config
1 parent 1ac7112 commit 208c67e

File tree

3 files changed

+53
-2
lines changed

3 files changed

+53
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.platform-organize-media {
2+
&__items {
3+
margin-bottom: 24px;
4+
}
5+
width: 80px;
6+
font-size: 12px;
7+
$size: 20px;
8+
display: inline-block;
9+
border: 2px solid #fff;
10+
&__item {
11+
}
12+
&__nav-item {
13+
width: 80px;
14+
display: inline-block;
15+
border: 2px solid #fff;
16+
font-size: 12px;
17+
&:hover {
18+
background: rgba(255, 255, 255, .2);
19+
}
20+
line-height: 26px;
21+
transition: background .15s;
22+
cursor: pointer;
23+
}
24+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.platform-organize-media {
2+
$size: 20px;
3+
4+
display: inline-block;
5+
width: 80px;
6+
border: 2px solid #fff;
7+
font-size: 12px;
8+
9+
&__items {
10+
margin-bottom: 24px;
11+
}
12+
&__item {
13+
}
14+
&__nav-item {
15+
display: inline-block;
16+
width: 80px;
17+
border: 2px solid #fff;
18+
font-size: 12px;
19+
line-height: 26px;
20+
cursor: pointer;
21+
transition: background .15s;
22+
23+
&:hover {
24+
background: rgba(255, 255, 255, .2);
25+
}
26+
}
27+
}

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,6 @@ test('Should sort at-rules by name', t => {
177177
] });
178178
});
179179

180-
test.skip('Should use default config if config is empty', t => {
181-
return run(t, 'at-rules-by-name', { });
180+
test('Should use default config if config is empty', t => {
181+
return run(t, 'without-specified-config');
182182
});

0 commit comments

Comments
 (0)