Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Nov 2, 2023
1 parent a3223ad commit 204cdf1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/resource-embedding.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { PostgrestClient } from '../src/index'
import { Database } from './types'

const postgrest = new PostgrestClient<Database>('http://localhost:3000').throwOnError()
const postgrest = new PostgrestClient<Database>('http://localhost:3000')

test('embedded select', async () => {
const res = await postgrest.from('users').select('messages(*)')
res.data.slice()
expect(res).toMatchInlineSnapshot(`
Object {
"count": null,
Expand Down

0 comments on commit 204cdf1

Please sign in to comment.