Skip to content

Commit

Permalink
use a file not included in content of your tailwind.config.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Oct 17, 2022
1 parent 441e362 commit da168e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/tailwindcss-cli/tests/cli.test.js
Expand Up @@ -169,9 +169,9 @@ describe('Build command', () => {
})

test('--content', async () => {
await writeInputFile('index.html', html`<div class="font-bold"></div>`)
await writeInputFile('other.html', html`<div class="font-bold"></div>`)

await $(`${EXECUTABLE} --content ./src/index.html --output ./dist/main.css`)
await $(`${EXECUTABLE} --content ./src/other.html --output ./dist/main.css`)

expect(await readOutputFile('main.css')).toIncludeCss(
css`
Expand Down

0 comments on commit da168e5

Please sign in to comment.