chore: strengthen backend eslint profile

This commit is contained in:
2026-09-28 11:04:18 +03:00
parent ca5dbcb382
commit 9b3558f96c
179 changed files with 4485 additions and 2716 deletions
@@ -1,6 +1,7 @@
import { ConfigService } from '@nestjs/config';
import { PrismaService } from '../src/prisma/prisma.service';
import { BrokerageOperationsRepository } from '../src/modules/investments/operations/infrastructure/brokerage-operations.repository';
import { PrismaService } from '../src/prisma/prisma.service';
// Real transactions are the boundary: staged pages never become financial
// results, and a failed multi-account publication must preserve every old row.
@@ -106,11 +107,12 @@ describe('Operations staging and reconciliation (isolated SQLite)', () => {
}
})(),
]);
for (const snapshot of snapshots)
for (const snapshot of snapshots) {
expect([
['10', '10'],
['20', '20'],
]).toContainEqual(snapshot);
}
await reader.$disconnect();
await reader.$connect();
expect(