Skip to content

Commit 650852d

Browse files
committed
drop cleanupFile, removeFile will already take care of it
1 parent 02f7854 commit 650852d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,6 @@ describe('Init command', () => {
508508
{ flags: ['--ts', '--full'], name: 'tailwind.config.ts' },
509509
{ flags: ['--esm', '--full'], name: 'tailwind.config.js' },
510510
])('works with all these flags: %j', async ({ flags, name }) => {
511-
cleanupFile(name)
512511
await removeFile(name)
513512

514513
let { combined } = await $(`${EXECUTABLE} init ${flags.join(' ')}`)
@@ -595,7 +594,6 @@ describe('Init command', () => {
595594
})
596595

597596
test('ESM config is created by default in an ESM project', async () => {
598-
cleanupFile('tailwind.config.js')
599597
await removeFile('tailwind.config.js')
600598

601599
let pkg = await readOutputFile('../package.json')
@@ -625,7 +623,6 @@ describe('Init command', () => {
625623
})
626624

627625
test('CJS config is created by default in a non-ESM project', async () => {
628-
cleanupFile('tailwind.config.js')
629626
await removeFile('tailwind.config.js')
630627

631628
let pkg = await readOutputFile('../package.json')

0 commit comments

Comments
 (0)