Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
exAspArk committed Oct 14, 2024
1 parent 88ae2bf commit 29c914b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ build:

publish:
npm publish --access public

test:
pnpm run test
2 changes: 1 addition & 1 deletion src/pg-adapter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const callMockedPgAdapater = async (queries: string[]) => {
const pgAdapter = new PrismaPg(client as any)

for(const sql of queries) {
await pgAdapter['performIO']({ sql, args: [] })
await pgAdapter['performIO']({ sql, args: [], argTypes: [] })
}

return query
Expand Down
4 changes: 2 additions & 2 deletions src/pg-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ class PgTransaction extends PgQueryable<TransactionClient> implements Transactio
}
}

class PgTransactionContext extends PgQueryable<pg.PoolClient> implements TransactionContext {
constructor(readonly conn: pg.PoolClient) {
class PgTransactionContext extends PgQueryable<TransactionClient> implements TransactionContext {
constructor(readonly conn: TransactionClient) {
super(conn)
}

Expand Down

0 comments on commit 29c914b

Please sign in to comment.