Skip to content

Commit

Permalink
Merge branch 'apply-complex-classes'
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Aug 15, 2020
2 parents cebed0e + 6b32635 commit 8a066c2
Show file tree
Hide file tree
Showing 13 changed files with 1,364 additions and 192 deletions.
6 changes: 5 additions & 1 deletion __tests__/applyAtRule.test.js
Expand Up @@ -13,7 +13,11 @@ const { utilities: defaultUtilities } = processPlugins(
)

function run(input, config = resolvedDefaultConfig, utilities = defaultUtilities) {
return postcss([substituteClassApplyAtRules(config, utilities)]).process(input, {
return postcss([
substituteClassApplyAtRules(config, () => ({
utilities,
})),
]).process(input, {
from: undefined,
})
}
Expand Down

0 comments on commit 8a066c2

Please sign in to comment.