Skip to content

Commit

Permalink
Changed important (string) to important (selector)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxwee5 committed Jul 11, 2019
1 parent 3820757 commit 12ba0c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __tests__/applyAtRule.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ test('you can apply utility classes without using the given prefix when using a
})
})

test('you can apply utility classes without specificity prefix even if important (string) is used.', () => {
test('you can apply utility classes without specificity prefix even if important (selector) is used.', () => {
const input = `
.foo { @apply .mt-8 .mb-8; }
`
Expand Down
2 changes: 1 addition & 1 deletion __tests__/processPlugins.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ test('plugins respect prefix and important options by default when adding utilit
`)
})

test('plugins respect prefix and important (string) options by default when adding utilities', () => {
test('plugins respect prefix and important (selector) options by default when adding utilities', () => {
const { utilities } = processPlugins(
[
function({ addUtilities }) {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/resolveConfig.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ test('important key overrides default important', () => {
})
})

test('important (string) key overrides default important', () => {
test('important (selector) key overrides default important', () => {
const userConfig = {
important: '#app',
}
Expand Down

0 comments on commit 12ba0c8

Please sign in to comment.