Skip to content

Commit

Permalink
Add client-testing-proxy-helpers package
Browse files Browse the repository at this point in the history
Ref: #7
  • Loading branch information
projkov committed Sep 6, 2024
1 parent d7a02eb commit 87f0cca
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
11 changes: 11 additions & 0 deletions packages/client-testing-proxy-helpers/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "@beda.software/client-testing-proxy-helpers",
"version": "0.0.1",
"description": "",
"main": "dist/index.js",
"scripts": {
"prepare": "tsc"
},
"author": "",
"license": "ISC"
}
File renamed without changes.
22 changes: 22 additions & 0 deletions packages/client-testing-proxy-helpers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"noEmit": false
}
}
2 changes: 1 addition & 1 deletion src/modules/proxyapp/proxyapp.controller.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { All, Controller, Param, Req, Res } from '@nestjs/common';
import { ApiTags, ApiOperation, ApiParam } from '@nestjs/swagger';
import { createRequestObject } from 'src/utils/data';
import { captureResponseBody } from 'src/utils/responses';
import { captureResponseBody } from '@beda.software/client-testing-proxy-helpers';
import { RequestService } from '../requests/request.service';
import { SessionService } from '../sessions/session.service';
import { Request, Response } from 'express';
Expand Down

0 comments on commit 87f0cca

Please sign in to comment.