@@ -55,7 +55,7 @@ test('When using routes `decompress` settings :', async (t) => {
5555 t . equal ( usedCustomGlobal , true )
5656
5757 t . equal ( response . statusCode , 200 )
58- t . equal ( response . body , 'fastify- compress' )
58+ t . equal ( response . body , '@ fastify/ compress' )
5959
6060 usedCustom = false
6161 usedCustomGlobal = false
@@ -73,7 +73,7 @@ test('When using routes `decompress` settings :', async (t) => {
7373 t . equal ( usedCustomGlobal , false )
7474
7575 t . equal ( response . statusCode , 200 )
76- t . equal ( response . body , 'fastify- compress' )
76+ t . equal ( response . body , '@ fastify/ compress' )
7777 } )
7878
7979 t . test ( 'it should decompress data using the route custom provided `createGunzip` method' , async ( t ) => {
@@ -112,7 +112,7 @@ test('When using routes `decompress` settings :', async (t) => {
112112 t . equal ( usedCustomGlobal , true )
113113
114114 t . equal ( response . statusCode , 200 )
115- t . equal ( response . body , 'fastify- compress' )
115+ t . equal ( response . body , '@ fastify/ compress' )
116116
117117 usedCustom = false
118118 usedCustomGlobal = false
@@ -131,7 +131,7 @@ test('When using routes `decompress` settings :', async (t) => {
131131 t . equal ( usedCustomGlobal , false )
132132
133133 t . equal ( response . statusCode , 200 )
134- t . equal ( response . body , 'fastify- compress' )
134+ t . equal ( response . body , '@ fastify/ compress' )
135135 } )
136136
137137 t . test ( 'it should not decompress data when route `decompress` option is set to `false`' , async ( t ) => {
@@ -163,7 +163,7 @@ test('When using routes `decompress` settings :', async (t) => {
163163 t . equal ( usedCustomGlobal , true )
164164
165165 t . equal ( response . statusCode , 200 )
166- t . equal ( response . body , 'fastify- compress' )
166+ t . equal ( response . body , '@ fastify/ compress' )
167167
168168 usedCustomGlobal = false
169169 } )
@@ -251,7 +251,7 @@ test('When using the old routes `{ config: decompress }` option :', async (t) =>
251251 t . equal ( usedCustomGlobal , true )
252252
253253 t . equal ( response . statusCode , 200 )
254- t . equal ( response . body , 'fastify- compress' )
254+ t . equal ( response . body , '@ fastify/ compress' )
255255
256256 usedCustom = false
257257 usedCustomGlobal = false
@@ -270,7 +270,7 @@ test('When using the old routes `{ config: decompress }` option :', async (t) =>
270270 t . equal ( usedCustomGlobal , false )
271271
272272 t . equal ( response . statusCode , 200 )
273- t . equal ( response . body , 'fastify- compress' )
273+ t . equal ( response . body , '@ fastify/ compress' )
274274 } )
275275
276276 t . test ( 'it should use the old routes `{ config: decompress }` options over routes `decompress` options' , async ( t ) => {
0 commit comments