Skip to content

Commit

Permalink
Add test for parsing css vars #537
Browse files Browse the repository at this point in the history
  • Loading branch information
sameoldmadness authored and jdalton committed Apr 27, 2019
1 parent c27bc21 commit 901a6ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/core/css/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const Test = require('../core_test');

describe('css', function() {
it('Should parse variables', function() {
const test = new Test(this);

test.comb.configure({});

return test.shouldBeEqual('variable.css');
});
});
3 changes: 3 additions & 0 deletions test/core/css/variable.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
div {
--color: red;
}

0 comments on commit 901a6ff

Please sign in to comment.