Skip to content

Commit 9a92a02

Browse files
committed
use a file not included in content of your tailwind.config.js file
1 parent 3c5a257 commit 9a92a02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ describe('Build command', () => {
169169
})
170170

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

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

176176
expect(await readOutputFile('main.css')).toIncludeCss(
177177
css`

0 commit comments

Comments
 (0)