From 1c8524505eebc1eae3587a44b975735e86ad20ce Mon Sep 17 00:00:00 2001 From: tony-sull Date: Wed, 13 Apr 2022 15:05:59 +0000 Subject: [PATCH] [ci] format --- packages/astro/test/tailwindcss.test.js | 16 ++++------------ packages/integrations/tailwind/src/index.ts | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/packages/astro/test/tailwindcss.test.js b/packages/astro/test/tailwindcss.test.js index 96a82572e9..bff025ffce 100644 --- a/packages/astro/test/tailwindcss.test.js +++ b/packages/astro/test/tailwindcss.test.js @@ -43,12 +43,8 @@ describe('Tailwind', () => { ); // custom theme colors were included - expect(bundledCSS, 'includes custom theme colors').to.match( - /\.text-midnight{/ - ); - expect(bundledCSS, 'includes custom theme colors').to.match( - /\.bg-dawn{/ - ); + expect(bundledCSS, 'includes custom theme colors').to.match(/\.text-midnight{/); + expect(bundledCSS, 'includes custom theme colors').to.match(/\.bg-dawn{/); }); it('maintains classes in HTML', async () => { @@ -108,12 +104,8 @@ describe('Tailwind', () => { expect(text, 'supports arbitrary value classes').to.match(/.font-\\[900\\]/); // custom theme colors were included - expect(text, 'includes custom theme colors').to.match( - /\.text-midnight/ - ); - expect(text, 'includes custom theme colors').to.match( - /\.bg-dawn/ - ); + expect(text, 'includes custom theme colors').to.match(/\.text-midnight/); + expect(text, 'includes custom theme colors').to.match(/\.bg-dawn/); }); it('maintains classes in HTML', async () => { diff --git a/packages/integrations/tailwind/src/index.ts b/packages/integrations/tailwind/src/index.ts index 9a0275f33c..29c23c733c 100644 --- a/packages/integrations/tailwind/src/index.ts +++ b/packages/integrations/tailwind/src/index.ts @@ -14,7 +14,7 @@ function getDefaultTailwindConfig(srcUrl: URL): TailwindConfig { }, plugins: [], content: [path.join(fileURLToPath(srcUrl), `**`, `*.{astro,html,js,jsx,svelte,ts,tsx,vue}`)], - presets: undefined // enable Tailwind's default preset + presets: undefined, // enable Tailwind's default preset }); }