From 2352eb1ed17bca2bd8790851f946a5c21ebe2e6e Mon Sep 17 00:00:00 2001 From: avallete Date: Tue, 5 Nov 2024 09:18:27 +0100 Subject: [PATCH] chore: add test --- test/select-query-parser/default-inference-d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/select-query-parser/default-inference-d.ts b/test/select-query-parser/default-inference-d.ts index 03334e98..98b2ba95 100644 --- a/test/select-query-parser/default-inference-d.ts +++ b/test/select-query-parser/default-inference-d.ts @@ -5,6 +5,11 @@ import { TypeEqual } from 'ts-expect' const REST_URL = 'http://localhost:3000' // Check for PostgrestClient without types provided to the client +{ + const postgrest = new PostgrestClient(REST_URL) + const { data } = await postgrest.from('user_profile').select() + expectType>(true) +} // basic embeding { const postgrest = new PostgrestClient(REST_URL)