@@ -51,7 +51,7 @@ describe('redwoodFastifyWeb', () => {
5151 } )
5252
5353 expect ( res . statusCode ) . toBe ( 200 )
54- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=UTF -8' )
54+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=utf -8' )
5555 expect ( res . body ) . toBe (
5656 fs . readFileSync ( path . join ( getPaths ( ) . web . dist , `${ url } .html` ) , 'utf-8' ) ,
5757 )
@@ -66,7 +66,7 @@ describe('redwoodFastifyWeb', () => {
6666 } )
6767
6868 expect ( res . statusCode ) . toBe ( 200 )
69- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=UTF -8' )
69+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=utf -8' )
7070 expect ( res . body ) . toBe (
7171 fs . readFileSync ( path . join ( getPaths ( ) . web . dist , `${ url } .html` ) , 'utf-8' ) ,
7272 )
@@ -83,7 +83,7 @@ describe('redwoodFastifyWeb', () => {
8383 } )
8484
8585 expect ( res . statusCode ) . toBe ( 200 )
86- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=UTF -8' )
86+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=utf -8' )
8787 expect ( res . body ) . toBe (
8888 fs . readFileSync ( path . join ( getPaths ( ) . web . dist , `${ url } .html` ) , 'utf-8' ) ,
8989 )
@@ -122,7 +122,7 @@ describe('redwoodFastifyWeb', () => {
122122 } )
123123
124124 expect ( res . statusCode ) . toBe ( 200 )
125- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=UTF -8' )
125+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=utf -8' )
126126 expect ( res . body ) . toBe (
127127 fs . readFileSync ( path . join ( getPaths ( ) . web . dist , url ) , 'utf-8' ) ,
128128 )
@@ -135,7 +135,7 @@ describe('redwoodFastifyWeb', () => {
135135 } )
136136
137137 expect ( res . statusCode ) . toBe ( 200 )
138- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=UTF -8' )
138+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/html; charset=utf -8' )
139139 expect ( res . body ) . toBe (
140140 fs . readFileSync ( path . join ( getPaths ( ) . web . dist , '200.html' ) , 'utf-8' ) ,
141141 )
@@ -153,7 +153,7 @@ describe('redwoodFastifyWeb', () => {
153153
154154 expect ( res . statusCode ) . toBe ( 200 )
155155 expect ( res . headers [ 'content-type' ] ) . toBe (
156- 'application/javascript; charset=UTF -8' ,
156+ 'application/javascript; charset=utf -8' ,
157157 )
158158 expect ( res . body ) . toBe (
159159 fs . readFileSync (
@@ -172,7 +172,7 @@ describe('redwoodFastifyWeb', () => {
172172 } )
173173
174174 expect ( res . statusCode ) . toBe ( 200 )
175- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/css; charset=UTF -8' )
175+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/css; charset=utf -8' )
176176 expect ( res . body ) . toBe (
177177 fs . readFileSync (
178178 path . join ( getPaths ( ) . web . dist , relativeFilePath ) ,
@@ -191,7 +191,7 @@ describe('redwoodFastifyWeb', () => {
191191
192192 expect ( res . statusCode ) . toBe ( 200 )
193193 expect ( res . headers [ 'content-type' ] ) . toBe (
194- 'application/json; charset=UTF -8' ,
194+ 'application/json; charset=utf -8' ,
195195 )
196196 expect ( res . body ) . toBe (
197197 fs . readFileSync (
@@ -220,7 +220,7 @@ describe('redwoodFastifyWeb', () => {
220220 } )
221221
222222 expect ( res . statusCode ) . toBe ( 200 )
223- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/markdown; charset=UTF -8' )
223+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/markdown; charset=utf -8' )
224224 expect ( res . body ) . toBe (
225225 fs . readFileSync (
226226 path . join ( getPaths ( ) . web . dist , relativeFilePath ) ,
@@ -238,7 +238,7 @@ describe('redwoodFastifyWeb', () => {
238238 } )
239239
240240 expect ( res . statusCode ) . toBe ( 200 )
241- expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/plain; charset=UTF -8' )
241+ expect ( res . headers [ 'content-type' ] ) . toBe ( 'text/plain; charset=utf -8' )
242242 expect ( res . body ) . toBe (
243243 fs . readFileSync (
244244 path . join ( getPaths ( ) . web . dist , relativeFilePath ) ,
0 commit comments