8000 chore: update unit tests · zhudy/supabase-postgres-meta@24d02d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24d02d0

Browse files
sweatybridgesoedirgo
authored andcommitted
chore: update unit tests
1 parent ba87d22 commit 24d02d0

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/db/00-init.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,5 @@ create table user_details (
118118
);
119119

120120
create view a_view as select id from users;
121+
122+
create table empty();

test/server/typegen.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ test('typegen', async () => {
3030
}
3131
Relationships: []
3232
}
33+
empty: {
34+
Row: {}
35+
Insert: {}
36+
Update: {}
37+
Relationships: []
38+
}
3339
memes: {
3440
Row: {
3541
category: number | null
@@ -483,6 +489,12 @@ test('typegen w/ one-to-one relationships', async () => {
483489
}
484490
Relationships: []
485491
}
492+
empty: {
493+
Row: {}
494+
Insert: {}
495+
Update: {}
496+
Relationships: []
497+
}
486498
memes: {
487499
Row: {
488500
category: number | null

0 commit comments

Comments
 (0)
0