@@ -88,16 +88,13 @@ describe('Server', () => {
8888 request ( app )
8989 . get ( '/public/bundle.js' )
9090 . expect ( 'Content-Type' , 'application/javascript; charset=UTF-8' )
91- // TODO(michael-ciniawsky) investigate the need for this test
92- . expect ( 'Content-Length' , '4631' )
9391 . expect ( 200 , / c o n s o l e \. l o g \( ' H e y \. ' \) / , done ) ;
9492 } ) ;
9593
9694 it ( 'HEAD request to bundle file' , ( done ) => {
9795 request ( app )
9896 . head ( '/public/bundle.js' )
9997 . expect ( 'Content-Type' , 'application/javascript; charset=UTF-8' )
100- . expect ( 'Content-Length' , '4631' )
10198 // eslint-disable-next-line no-undefined
10299 . expect ( 200 , undefined , done ) ;
103100 } ) ;
@@ -112,7 +109,6 @@ describe('Server', () => {
112109 request ( app )
113110 . get ( '/public/svg.svg' )
114111 . expect ( 'Content-Type' , 'image/svg+xml; charset=UTF-8' )
115- . expect ( 'Content-Length' , '4778' )
116112 . expect ( 200 , done ) ;
117113 } ) ;
118114
@@ -189,8 +185,6 @@ describe('Server', () => {
189185 request ( app )
190186 . post ( '/public/bundle.js' )
191187 . expect ( 'Content-Type' , 'application/javascript; charset=UTF-8' )
192- // TODO(michael-ciniawsky) investigate the need for this test
193- . expect ( 'Content-Length' , '4631' )
194188 . expect ( 200 , / c o n s o l e \. l o g \( ' H e y \. ' \) / , done ) ;
195189 } ) ;
196190
@@ -248,8 +242,6 @@ describe('Server', () => {
248242 it ( 'GET request to bundle file' , ( done ) => {
249243 request ( app )
250244 . get ( '/bundle.js' )
251- // TODO(michael-ciniawsky) investigate the need for this test
252- . expect ( 'Content-Length' , '4631' )
253245 . expect ( 200 , / c o n s o l e \. l o g \( ' H e y \. ' \) / , done ) ;
254246 } ) ;
255247 } ) ;
0 commit comments