@@ -24,27 +24,24 @@ describe('app-dir - fetch warnings', () => {
2424 it ( 'should log when request input is a string' , async ( ) => {
2525 await retry ( ( ) => {
2626 expect ( next . cliOutput ) . toInclude ( `
27- │ GET https://next-data-api-endpoint.vercel.app/api/random?request-string
28- │ │ ⚠ Specified "cache: force-cache" and "revalidate: 3", only one should be specified.
29- ` )
27+ │ GET https://next-data-api-endpoint.vercel.app/api/random?request-string
28+ │ │ ⚠ Specified "cache: force-cache" and "revalidate: 3", only one should be specified.` )
3029 } )
3130 } )
3231
3332 it ( 'should log when request input is a Request instance' , async ( ) => {
3433 await retry ( ( ) => {
3534 expect ( next . cliOutput ) . toInclude ( `
36- │ GET https://next-data-api-endpoint.vercel.app/api/random?request-input-cache-override
37- │ │ ⚠ Specified "cache: force-cache" and "revalidate: 3", only one should be specified.
38- ` )
35+ │ GET https://next-data-api-endpoint.vercel.app/api/random?request-input-cache-override
36+ │ │ ⚠ Specified "cache: force-cache" and "revalidate: 3", only one should be specified.` )
3937 } )
4038 } )
4139
4240 it ( 'should not log when overriding cache within the Request object' , async ( ) => {
4341 await retry ( ( ) => {
4442 expect ( next . cliOutput ) . not . toInclude ( `
45- │ GET https://next-data-api-endpoint.vercel.app/api/random?request-input
46- │ │ ⚠ Specified "cache: force-cache" and "revalidate: 3", only one should be specified.
47- ` )
43+ │ GET https://next-data-api-endpoint.vercel.app/api/random?request-input
44+ │ │ ⚠ Specified "cache: force-cache" and "revalidate: 3", only one should be specified.` )
4845 } )
4946 } )
5047 } else {
0 commit comments