@@ -80,8 +80,11 @@ describe('esbuildPlugin target', () => {
8080 const response = await fetch ( `${ host } /foo.js` ) ;
8181 const text = await response . text ( ) ;
8282
83- assert . equal ( response . status , 200 ) ;
84- assert . equal ( response . headers . get ( 'content-type' ) , 'application/javascript; charset=utf-8' ) ;
83+ assert . strictEqual ( response . status , 200 ) ;
84+ assert . strictEqual (
85+ response . headers . get ( 'content-type' ) ,
86+ 'application/javascript; charset=utf-8' ,
87+ ) ;
8588
8689 expectIncludes ( text , syntax . classes ) ;
8790 for ( const e of syntax . classFields ) {
@@ -120,8 +123,11 @@ describe('esbuildPlugin target', () => {
120123 const response = await fetch ( `${ host } /foo.js` ) ;
121124 const text = await response . text ( ) ;
122125
123- assert . equal ( response . status , 200 ) ;
124- assert . equal ( response . headers . get ( 'content-type' ) , 'application/javascript; charset=utf-8' ) ;
126+ assert . strictEqual ( response . status , 200 ) ;
127+ assert . strictEqual (
128+ response . headers . get ( 'content-type' ) ,
129+ 'application/javascript; charset=utf-8' ,
130+ ) ;
125131
126132 expectIncludes ( text , syntax . classes ) ;
127133 for ( const e of transformedSyntax . classFields ) {
@@ -160,8 +166,11 @@ describe('esbuildPlugin target', () => {
160166 const response = await fetch ( `${ host } /foo.js` ) ;
161167 const text = await response . text ( ) ;
162168
163- assert . equal ( response . status , 200 ) ;
164- assert . equal ( response . headers . get ( 'content-type' ) , 'application/javascript; charset=utf-8' ) ;
169+ assert . strictEqual ( response . status , 200 ) ;
170+ assert . strictEqual (
171+ response . headers . get ( 'content-type' ) ,
172+ 'application/javascript; charset=utf-8' ,
173+ ) ;
165174
166175 expectIncludes ( text , syntax . classes ) ;
167176 for ( const e of transformedSyntax . classFields ) {
@@ -200,8 +209,11 @@ describe('esbuildPlugin target', () => {
200209 const response = await fetch ( `${ host } /foo.js` ) ;
201210 const text = await response . text ( ) ;
202211
203- assert . equal ( response . status , 200 ) ;
204- assert . equal ( response . headers . get ( 'content-type' ) , 'application/javascript; charset=utf-8' ) ;
212+ assert . strictEqual ( response . status , 200 ) ;
213+ assert . strictEqual (
214+ response . headers . get ( 'content-type' ) ,
215+ 'application/javascript; charset=utf-8' ,
216+ ) ;
205217
206218 expectIncludes ( text , syntax . classes ) ;
207219 for ( const e of transformedSyntax . classFields ) {
@@ -240,8 +252,11 @@ describe('esbuildPlugin target', () => {
240252 const response = await fetch ( `${ host } /foo.js` ) ;
241253 const text = await response . text ( ) ;
242254
243- assert . equal ( response . status , 200 ) ;
244- assert . equal ( response . headers . get ( 'content-type' ) , 'application/javascript; charset=utf-8' ) ;
255+ assert . strictEqual ( response . status , 200 ) ;
256+ assert . strictEqual (
257+ response . headers . get ( 'content-type' ) ,
258+ 'application/javascript; charset=utf-8' ,
259+ ) ;
245260
246261 expectIncludes ( text , syntax . classes ) ;
247262 for ( const e of transformedSyntax . classFields ) {
@@ -278,8 +293,11 @@ describe('esbuildPlugin target', () => {
278293 const response = await fetch ( `${ host } /foo.js` ) ;
279294 const text = await response . text ( ) ;
280295
281- assert . equal ( response . status , 200 ) ;
282- assert . equal ( response . headers . get ( 'content-type' ) , 'application/javascript; charset=utf-8' ) ;
296+ assert . strictEqual ( response . status , 200 ) ;
297+ assert . strictEqual (
298+ response . headers . get ( 'content-type' ) ,
299+ 'application/javascript; charset=utf-8' ,
300+ ) ;
283301
284302 expectIncludes ( text , syntax . classes ) ;
285303 for ( const e of transformedSyntax . classFields ) {
@@ -320,8 +338,8 @@ describe('esbuildPlugin target', () => {
320338 const response = await fetch ( `${ host } /index.html` ) ;
321339 const text = await response . text ( ) ;
322340
323- assert . equal ( response . status , 200 ) ;
324- assert . equal ( response . headers . get ( 'content-type' ) , 'text/html; charset=utf-8' ) ;
341+ assert . strictEqual ( response . status , 200 ) ;
342+ assert . strictEqual ( response . headers . get ( 'content-type' ) , 'text/html; charset=utf-8' ) ;
325343
326344 expectIncludes ( text , syntax . classes ) ;
327345 for ( const e of transformedSyntax . classFields ) {
@@ -365,8 +383,8 @@ describe('esbuildPlugin target', () => {
365383 const response = await fetch ( `${ host } /index.html` ) ;
366384 const text = await response . text ( ) ;
367385
368- assert . equal ( response . status , 200 ) ;
369- assert . equal ( response . headers . get ( 'content-type' ) , 'text/html; charset=utf-8' ) ;
386+ assert . strictEqual ( response . status , 200 ) ;
387+ assert . strictEqual ( response . headers . get ( 'content-type' ) , 'text/html; charset=utf-8' ) ;
370388 expectIncludes ( text , importmapString ) ;
371389 expectIncludes ( text , jsonString ) ;
372390 } finally {
0 commit comments