We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6767f4c commit 59abc2fCopy full SHA for 59abc2f
test/unit/SupabaseClient.test.ts
@@ -81,6 +81,7 @@ describe('SupabaseClient', () => {
81
82
test('should merge custom headers with default headers', () => {
83
const customHeader = { 'X-Test-Header': 'value' }
84
+ const request = createClient(URL, KEY, { global: { headers: customHeader } }).rpc('')
85
86
//@ts-expect-error headers is protected attribute
87
const requestHeader = request.headers.get('X-Test-Header')
0 commit comments