From 7a8f8d9877ca6583a5b4a3a9232e81c1c4b03ec6 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Tue, 6 Mar 2018 15:55:29 -0500 Subject: [PATCH] Style fixes --- __tests__/processPlugins.test.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/__tests__/processPlugins.test.js b/__tests__/processPlugins.test.js index 96a3c687e..e39c8eeda 100644 --- a/__tests__/processPlugins.test.js +++ b/__tests__/processPlugins.test.js @@ -666,9 +666,11 @@ test("plugins can apply the user's chosen prefix to components manually", () => const [components] = processPluginsWithValidConfig({ plugins: [ function({ addComponents, prefix }) { - addComponents({ - [prefix('.btn-blue')]: { - backgroundColor: 'blue', + addComponents( + { + [prefix('.btn-blue')]: { + backgroundColor: 'blue', + }, }, }) }, @@ -784,9 +786,11 @@ test('prefix will prefix all classes in a selector', () => { const [components] = processPluginsWithValidConfig({ plugins: [ function({ addComponents, prefix }) { - addComponents({ - [prefix('.btn-blue .w-1\\/4 > h1.text-xl + a .bar')]: { - backgroundColor: 'blue', + addComponents( + { + [prefix('.btn-blue .w-1\\/4 > h1.text-xl + a .bar')]: { + backgroundColor: 'blue', + }, }, }) },