Skip to content

Commit 901a6ff

Browse files
sameoldmadnessjdalton
authored andcommitted
Add test for parsing css vars #537
1 parent c27bc21 commit 901a6ff

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/core/css/test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const Test = require('../core_test');
2+
3+
describe('css', function() {
4+
it('Should parse variables', function() {
5+
const test = new Test(this);
6+
7+
test.comb.configure({});
8+
9+
return test.shouldBeEqual('variable.css');
10+
});
11+
});

test/core/css/variable.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
div {
2+
--color: red;
3+
}

0 commit comments

Comments
 (0)