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.
This commit is contained in:
parent
476d445629
commit
8218aa6251
1 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ let EXECUTABLE = 'node ../../lib/cli.js'
|
|||
|
||||
describe('Build command', () => {
|
||||
test('--output', async () => {
|
||||
await writeInputFile('index.html', html`<div class="font-bold"></div>`)
|
||||
await writeInputFile('index.html', html`<div class="font-bold shadow"></div>`)
|
||||
|
||||
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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue