Skip to content

Commit 2b3284c

Browse files
chore: mintor fixes on tests
1 parent 7cf404b commit 2b3284c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/SupabaseAuthClient.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const DEFAULT_OPTIONS = {
1313
},
1414
db: {
1515
schema: 'public',
16-
shouldThrowOnError: false,
1716
},
1817
}
1918
const settings = { ...DEFAULT_OPTIONS }

test/client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('Custom Headers', () => {
1919
test('should have custom header set', () => {
2020
const customHeader = { 'X-Test-Header': 'value' }
2121

22-
const request = createClient(URL, KEY, { headers: customHeader }).rpc('')
22+
const request = createClient(URL, KEY, { global: { headers: customHeader } }).rpc('')
2323

2424
// @ts-ignore
2525
const getHeaders = request.headers

0 commit comments

Comments
 (0)