commit 2 refactor

This commit is contained in:
Boki 2026-10-20 14:35:45 -04:00
parent 588f666943
commit 32e43c9243
310 changed files with 33318 additions and 31189 deletions

View file

@ -3,7 +3,7 @@ import {
SimplePostgresClient,
SimpleQueryBuilder,
SimpleTransactionManager,
} from '../src/simple-postgres';
} from './support/simple-postgres';
describe('PostgresClient', () => {
let client: SimplePostgresClient;
@ -195,7 +195,7 @@ describe('TransactionManager', () => {
it('should rollback on error', async () => {
await expect(
manager.transaction(async client => {
manager.transaction(async _client => {
throw new Error('Transaction failed');
})
).rejects.toThrow('Transaction failed');