Skip to content

Commit 532121e

Browse files
committed
chore: fix tests
1 parent a9443a1 commit 532121e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('Dynamic schema', () => {
7575
test('should swap schemas', async () => {
7676
const client = createClient<Database>('HTTP://localhost:3000', KEY)
7777
expect(client.schema('personal')).toBeInstanceOf(PostgrestClient)
78-
expect(client.schema('personal').from('users').insert([]).maxAffected(21)).toBe('personal')
78+
expect(client.schema('personal').from('users').schema).toBe('personal')
7979
})
8080
})
8181

0 commit comments

Comments
 (0)