chore: revert to chai v4

This commit is contained in:
Kamil Myśliwiec
2025-07-15 11:47:50 +02:00
parent 33286c4f4b
commit 565943c50c
3 changed files with 42 additions and 840 deletions

876
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -100,7 +100,7 @@
"@nestjs/typeorm": "11.0.0",
"@types/amqplib": "0.10.7",
"@types/bytes": "3.1.5",
"@types/chai": "5.2.2",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/cors": "2.8.19",
"@types/eslint__js": "8.42.3",
@@ -119,7 +119,7 @@
"bytes": "3.1.2",
"cache-manager": "7.0.1",
"cache-manager-redis-store": "3.0.1",
"chai": "5.2.1",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"clang-format": "1.8.0",
"concurrently": "9.2.0",

View File

@@ -15,7 +15,7 @@ describe('PipesConsumer', () => {
beforeEach(() => {
value = 0;
data = null;
(metatype = {}), (type = RouteParamtypes.QUERY);
((metatype = {}), (type = RouteParamtypes.QUERY));
stringifiedType = 'query';
transforms = [
createPipe(sinon.stub().callsFake(val => val + 1)),