chore: strengthen backend eslint profile

This commit is contained in:
2026-09-28 16:37:01 +03:00
committed by ksv741
parent 53b2794963
commit a970eaaf7a
179 changed files with 4485 additions and 2716 deletions
+8 -5
View File
@@ -1,13 +1,15 @@
import type { Server } from 'node:http';
import { INestApplication } from '@nestjs/common';
import { JwtService } from '@nestjs/jwt';
import { Test } from '@nestjs/testing';
import type { Server } from 'node:http';
import request from 'supertest';
import { AppModule } from '../src/app.module';
import { PrismaService } from '../src/prisma/prisma.service';
import { setTimeout as delay } from 'node:timers/promises';
import request from 'supertest';
import { AppModule } from '../src/app.module';
import { TbankClient } from '../src/integrations/tbank/tbank.client';
import { configureApp } from '../src/main';
import { PrismaService } from '../src/prisma/prisma.service';
describe('Portfolio structure HTTP contract', () => {
let app: INestApplication<Server>;
@@ -72,8 +74,9 @@ describe('Portfolio structure HTTP contract', () => {
!(await app
.get(PrismaService)
.tbankSyncWork.count({ where: { state: 'running' } }))
)
) {
return;
}
await delay(5);
}
throw new Error('Portfolio did not settle');