Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Aug 22, 2024
1 parent 97df110 commit 79c66aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/res/PgTyped.res
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Pg = {
/** default process.env.PGUSER || process.env.USER*/ user?: string,
/**default process.env.PGPASSWORD*/ password?: string,
/** default process.env.PGHOST*/ host?: string,
/** default process.env.PGPORT*/ port?: float,
/** default process.env.PGPORT*/ port?: int,
/** default process.env.PGDATABASE || user*/ database?: string,
/** e.g. postgres://user:password@host:5432/database*/ connectionString?: string,
/** passed directly to node.TLSSocket, supports all tls.connect options*/ ssl?: unknown,
Expand Down
2 changes: 1 addition & 1 deletion packages/example/src/rescript.test.res
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ let client = ref(None)
let getClient = () => client.contents->Option.getExn

beforeAll(async () => {
let dbClient = Pg.Client.make(dbConfig)
let dbClient = Pg.Client.make(Config(dbConfig))
client := Some(dbClient)
await dbClient->Pg.Client.connect
})
Expand Down

0 comments on commit 79c66aa

Please sign in to comment.