We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3223ad commit 57323f8Copy full SHA for 57323f8
test/resource-embedding.ts
@@ -1,11 +1,11 @@
1
import { PostgrestClient } from '../src/index'
2
import { Database } from './types'
3
4
-const postgrest = new PostgrestClient<Database>('http://localhost:3000').throwOnError()
+const postgrest = new PostgrestClient<Database>('http://localhost:3000')
5
6
test('embedded select', async () => {
7
const res = await postgrest.from('users').select('messages(*)')
8
- res.data.slice()
+
9
expect(res).toMatchInlineSnapshot(`
10
Object {
11
"count": null,
0 commit comments