File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/theme/src/cli/utilities/theme-environment Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,11 @@ describe('dev proxy', () => {
235235 expect ( canProxyRequest ( event ) ) . toBeTruthy ( )
236236 } )
237237
238+ test ( 'should proxy Checkout requests as they are not supported by the SFR client' , ( ) => {
239+ const event = createH3Event ( 'GET' , '/checkouts/xyz' )
240+ expect ( canProxyRequest ( event ) ) . toBeTruthy ( )
241+ } )
242+
238243 test ( 'should proxy CDN requests' , ( ) => {
239244 const event = createH3Event ( 'GET' , '/cdn/some-path' )
240245 expect ( canProxyRequest ( event ) ) . toBeTruthy ( )
@@ -295,5 +300,10 @@ describe('dev proxy', () => {
295300 const event = createH3Event ( 'GET' , '/account/login/multipass/<token>' )
296301 expect ( canProxyRequest ( event ) ) . toBeTruthy ( )
297302 } )
303+
304+ test ( 'should proxy /account/logout requests' , ( ) => {
305+ const event = createH3Event ( 'GET' , '/account/logout' )
306+ expect ( canProxyRequest ( event ) ) . toBeTruthy ( )
307+ } )
298308 } )
299309} )
You can’t perform that action at this time.
0 commit comments