Skip to content

Commit

Permalink
Accounting for new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio-Laguna committed Jan 3, 2018
1 parent e670c26 commit 4abee45
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 71 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.nyc_output/
test/out
.idea/
72 changes: 15 additions & 57 deletions test/expected/breakpoints.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion test/expected/mixins.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions test/expected/mqpacker.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions test/fixtures/mixins.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.link {
@mixin test red, white;
background: black;
@mixin test red, white {
background: black;
}
}

.test {
@mixin test-mixin red;
}
12 changes: 3 additions & 9 deletions test/fixtures/mixins/test-mixin.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
'use strict';

module.exports = function () {
return function (mixin, bg) {
const styles = {
'background-color': bg
};

return styles;
};
};
module.exports = (mixin, bg) => ({
'background-color': bg
});

0 comments on commit 4abee45

Please sign in to comment.