Skip to content

Commit 8218aa6

Browse files
authored
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.
1 parent 476d445 commit 8218aa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integrations/tailwindcss-cli/tests/cli.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let EXECUTABLE = 'node ../../lib/cli.js'
1212

1313
describe('Build command', () => {
1414
test('--output', async () => {
15-
await writeInputFile('index.html', html`<div class="font-bold"></div>`)
15+
await writeInputFile('index.html', html`<div class="font-bold shadow"></div>`)
1616

1717
await $(`${EXECUTABLE} --output ./dist/main.css`)
1818

@@ -258,7 +258,7 @@ describe('Build command', () => {
258258

259259
expect(combined).toMatchInlineSnapshot(`
260260
"
261-
tailwindcss v2.2.4
261+
tailwindcss v2.2.8
262262
263263
Usage:
264264
tailwindcss build [options]
@@ -348,7 +348,7 @@ describe('Init command', () => {
348348

349349
expect(combined).toMatchInlineSnapshot(`
350350
"
351-
tailwindcss v2.2.4
351+
tailwindcss v2.2.8
352352
353353
Usage:
354354
tailwindcss init [options]

0 commit comments

Comments
 (0)