@@ -25,11 +25,11 @@ describe('static build', () => {
2525 } )
2626} )
2727
28- describe . each ( [ { TAILWIND_MODE : 'watch' } , { TAILWIND_MODE : undefined } ] ) ( ' watcher %p ', ( env ) => {
28+ describe ( ' watcher', ( ) => {
2929 test ( `classes are generated when the html file changes` , async ( ) => {
3030 await writeInputFile ( 'index.html' , html `<div class= "font-bold" > </ div> ` )
3131
32- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
32+ let runningProcess = $ ( 'webpack --mode=development --watch' )
3333
3434 await waitForOutputFileCreation ( 'main.css' )
3535
@@ -81,7 +81,7 @@ describe.each([{ TAILWIND_MODE: 'watch' }, { TAILWIND_MODE: undefined }])('watch
8181 test ( `classes are generated when the tailwind.config.js file changes` , async ( ) => {
8282 await writeInputFile ( 'index.html' , html `<div class= "font-bold md:font-medium" > </ div> ` )
8383
84- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
84+ let runningProcess = $ ( 'webpack --mode=development --watch' )
8585
8686 await waitForOutputFileCreation ( 'main.css' )
8787
@@ -142,7 +142,7 @@ describe.each([{ TAILWIND_MODE: 'watch' }, { TAILWIND_MODE: undefined }])('watch
142142 test ( `classes are generated when the index.css file changes` , async ( ) => {
143143 await writeInputFile ( 'index.html' , html `<div class= "font-bold btn" > </ div> ` )
144144
145- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
145+ let runningProcess = $ ( 'webpack --mode=development --watch' )
146146
147147 await waitForOutputFileCreation ( 'main.css' )
148148
@@ -245,7 +245,7 @@ describe.each([{ TAILWIND_MODE: 'watch' }, { TAILWIND_MODE: undefined }])('watch
245245 `
246246 )
247247
248- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
248+ let runningProcess = $ ( 'webpack --mode=development --watch' )
249249
250250 await waitForOutputFileCreation ( 'main.css' )
251251
0 commit comments