@@ -25,11 +25,11 @@ describe('static build', () => {
25
25
} )
26
26
} )
27
27
28
- describe . each ( [ { TAILWIND_MODE : 'watch' } , { TAILWIND_MODE : undefined } ] ) ( ' watcher %p ', ( env ) => {
28
+ describe ( ' watcher', ( ) => {
29
29
test ( `classes are generated when the html file changes` , async ( ) => {
30
30
await writeInputFile ( 'index.html' , html `<div class= "font-bold" > </ div> ` )
31
31
32
- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
32
+ let runningProcess = $ ( 'webpack --mode=development --watch' )
33
33
34
34
await waitForOutputFileCreation ( 'main.css' )
35
35
@@ -81,7 +81,7 @@ describe.each([{ TAILWIND_MODE: 'watch' }, { TAILWIND_MODE: undefined }])('watch
81
81
test ( `classes are generated when the tailwind.config.js file changes` , async ( ) => {
82
82
await writeInputFile ( 'index.html' , html `<div class= "font-bold md:font-medium" > </ div> ` )
83
83
84
- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
84
+ let runningProcess = $ ( 'webpack --mode=development --watch' )
85
85
86
86
await waitForOutputFileCreation ( 'main.css' )
87
87
@@ -142,7 +142,7 @@ describe.each([{ TAILWIND_MODE: 'watch' }, { TAILWIND_MODE: undefined }])('watch
142
142
test ( `classes are generated when the index.css file changes` , async ( ) => {
143
143
await writeInputFile ( 'index.html' , html `<div class= "font-bold btn" > </ div> ` )
144
144
145
- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
145
+ let runningProcess = $ ( 'webpack --mode=development --watch' )
146
146
147
147
await waitForOutputFileCreation ( 'main.css' )
148
148
@@ -245,7 +245,7 @@ describe.each([{ TAILWIND_MODE: 'watch' }, { TAILWIND_MODE: undefined }])('watch
245
245
`
246
246
)
247
247
248
- let runningProcess = $ ( 'webpack --mode=development --watch' , { env } )
248
+ let runningProcess = $ ( 'webpack --mode=development --watch' )
249
249
250
250
await waitForOutputFileCreation ( 'main.css' )
251
251
0 commit comments