Skip to content

Commit 7a8f8d9

Browse files
committed
Style fixes
1 parent 7d589dd commit 7a8f8d9

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

__tests__/processPlugins.test.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,9 +666,11 @@ test("plugins can apply the user's chosen prefix to components manually", () =>
666666
const [components] = processPluginsWithValidConfig({
667667
plugins: [
668668
function({ addComponents, prefix }) {
669-
addComponents({
670-
[prefix('.btn-blue')]: {
671-
backgroundColor: 'blue',
669+
addComponents(
670+
{
671+
[prefix('.btn-blue')]: {
672+
backgroundColor: 'blue',
673+
},
672674
},
673675
})
674676
},
@@ -784,9 +786,11 @@ test('prefix will prefix all classes in a selector', () => {
784786
const [components] = processPluginsWithValidConfig({
785787
plugins: [
786788
function({ addComponents, prefix }) {
787-
addComponents({
788-
[prefix('.btn-blue .w-1\\/4 > h1.text-xl + a .bar')]: {
789-
backgroundColor: 'blue',
789+
addComponents(
790+
{
791+
[prefix('.btn-blue .w-1\\/4 > h1.text-xl + a .bar')]: {
792+
backgroundColor: 'blue',
793+
},
790794
},
791795
})
792796
},

0 commit comments

Comments
 (0)