File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ describe('TransientStore', () => {
8383 expect ( cookie ?. secure ) . toBeFalsy ( ) ;
8484 } ) ;
8585
86- it ( 'should set SameSite=None, Secure=False for fallback cookie by default for http' , async ( ) => {
86+ it ( 'should not set SameSite and set Secure=False for fallback cookie by default for http' , async ( ) => {
8787 const baseURL : string = await setup (
8888 defaultConfig ,
8989 ( req : NodeRequest , res : NodeResponse ) => {
@@ -96,9 +96,8 @@ describe('TransientStore', () => {
9696 const { value } = await get ( baseURL , '/' , { cookieJar } ) ;
9797 const fallbackCookie = getCookie ( '_test_key' , cookieJar , baseURL ) ;
9898 expect ( value ) . toEqual ( expect . any ( String ) ) ;
99- // TODO: figure out why this is sameSite 'none' (and why it's passing in main)
10099 expect ( fallbackCookie ) . toMatchObject ( {
101- sameSite : 'none' ,
100+ sameSite : undefined ,
102101 secure : false ,
103102 httpOnly : true
104103 } ) ;
You can’t perform that action at this time.
0 commit comments