From 8218aa62518eaf004d7d360800428d8b1d39cb5c Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Fri, 27 Aug 2021 16:09:25 +0200 Subject: [PATCH] Ensure integration tests are up to date (#5317) * update (old) incorrect snapshots The version changed, so it is save to update these. * add `shadow` so that we can test `@tailwind base` We were only using `font-bold`, but that doesn't require any base rules. We try to only inject rules that are required, even for `base` related rules. Adding `shadow` will ensure that we can test that `base` rules have been added. --- integrations/tailwindcss-cli/tests/cli.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integrations/tailwindcss-cli/tests/cli.test.js b/integrations/tailwindcss-cli/tests/cli.test.js index 822cec6b5..2a9843a02 100644 --- a/integrations/tailwindcss-cli/tests/cli.test.js +++ b/integrations/tailwindcss-cli/tests/cli.test.js @@ -12,7 +12,7 @@ let EXECUTABLE = 'node ../../lib/cli.js' describe('Build command', () => { test('--output', async () => { - await writeInputFile('index.html', html`
`) + await writeInputFile('index.html', html`
`) await $(`${EXECUTABLE} --output ./dist/main.css`) @@ -258,7 +258,7 @@ describe('Build command', () => { expect(combined).toMatchInlineSnapshot(` " - tailwindcss v2.2.4 + tailwindcss v2.2.8 Usage: tailwindcss build [options] @@ -348,7 +348,7 @@ describe('Init command', () => { expect(combined).toMatchInlineSnapshot(` " - tailwindcss v2.2.4 + tailwindcss v2.2.8 Usage: tailwindcss init [options]