diff --git a/__tests__/applyAtRule.test.js b/__tests__/applyAtRule.test.js index 9fae80be5..52cf6f795 100644 --- a/__tests__/applyAtRule.test.js +++ b/__tests__/applyAtRule.test.js @@ -14,7 +14,7 @@ test("it copies a class's declarations into itself", () => { }) }) -test("it removes important from applied classes", () => { +test('it removes important from applied classes', () => { const output = '.a { color: red !important; } .b { color: red; }' return run('.a { color: red !important; } .b { @apply .a; }').then(result => { diff --git a/src/lib/substituteClassApplyAtRules.js b/src/lib/substituteClassApplyAtRules.js index 2ee3eeb0e..7305a6001 100644 --- a/src/lib/substituteClassApplyAtRules.js +++ b/src/lib/substituteClassApplyAtRules.js @@ -58,7 +58,7 @@ export default function() { }) }) - decls.forEach((decl) => { + decls.forEach(decl => { decl.important = false })