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 57323f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/resource-embedding.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
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 57323f8

Please sign in to comment.