fixed build libs

This commit is contained in:
Boki 2025-06-25 08:29:53 -04:00
parent b03231b849
commit 42baadae38
26 changed files with 981 additions and 541 deletions

View file

@ -188,7 +188,7 @@ export class SimpleTransactionManager {
async transaction<T>(fn: (client: any) => Promise<T>): Promise<T> {
const mockClient = {
query: async () => ({ rows: [], rowCount: 0 }),
query: async (sql?: string) => ({ rows: [], rowCount: 0 }),
release: () => {},
};

View file

@ -3,7 +3,7 @@ import {
SimplePostgresClient,
SimpleQueryBuilder,
SimpleTransactionManager,
} from './simple-postgres';
} from '../src/simple-postgres';
describe('PostgresClient', () => {
let client: SimplePostgresClient;