File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
packages/core/supabase-js/test/unit Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 118118 },
119119 "test:unit" : {
120120 "inputs" : [" testing" , " ^production" ],
121+ "dependsOn" : [" build" ],
121122 "cache" : true ,
122123 "outputs" : [" {projectRoot}/coverage" ]
123124 },
Original file line number Diff line number Diff line change @@ -40,18 +40,13 @@ describe('fetch module', () => {
4040 } )
4141
4242 describe ( 'resolveHeadersConstructor' , ( ) => {
43- test ( 'should use global Headers when available ' , ( ) => {
43+ test ( 'should return native Headers' , ( ) => {
4444 const GlobalHeaders = jest . fn ( )
4545 ; ( global as any ) . Headers = GlobalHeaders
4646
4747 const result = resolveHeadersConstructor ( )
4848 expect ( result ) . toBe ( GlobalHeaders )
4949 } )
50-
51- test ( 'should fallback to NodeFetchHeaders when global Headers is undefined' , ( ) => {
52- const result = resolveHeadersConstructor ( )
53- expect ( typeof result ) . toBe ( 'function' )
54- } )
5550 } )
5651
5752 describe ( 'fetchWithAuth' , ( ) => {
You can’t perform that action at this time.
0 commit comments