Skip to content

Commit

Permalink
chore: update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge authored and soedirgo committed Feb 21, 2024
1 parent ba87d22 commit 24d02d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/db/00-init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,5 @@ create table user_details (
);

create view a_view as select id from users;

create table empty();
12 changes: 12 additions & 0 deletions test/server/typegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ test('typegen', async () => {
}
Relationships: []
}
empty: {
Row: {}
Insert: {}
Update: {}
Relationships: []
}
memes: {
Row: {
category: number | null
Expand Down Expand Up @@ -483,6 +489,12 @@ test('typegen w/ one-to-one relationships', async () => {
}
Relationships: []
}
empty: {
Row: {}
Insert: {}
Update: {}
Relationships: []
}
memes: {
Row: {
category: number | null
Expand Down

0 comments on commit 24d02d0

Please sign in to comment.