Skip to content

Commit

Permalink
added testcase and postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
varsha766 committed Nov 15, 2023
1 parent 7b47a68 commit 536faea
Show file tree
Hide file tree
Showing 5 changed files with 4,616 additions and 37,565 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:newman": "newman run studio-api.postman_collection.json",
"test:newman": "newman run studio-server.postman_collection.json",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
Expand Down
9 changes: 2 additions & 7 deletions src/app-oauth/app-oauth.module.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import { MiddlewareConsumer, Module, NestModule } from '@nestjs/common';
import { Module } from '@nestjs/common';
import { AppOauthController } from './app-oauth.controller';
import { AppAuthModule } from 'src/app-auth/app-auth.module';
import { WhitelistSSICorsMiddleware } from 'src/utils/middleware/cors.middleware';
@Module({
imports: [AppAuthModule],
controllers: [AppOauthController],
providers: [],
})
export class AppOauthModule implements NestModule {
configure(consumer: MiddlewareConsumer) {
// consumer.apply(WhitelistSSICorsMiddleware).forRoutes(AppOauthController);
}
}
export class AppOauthModule {}
95 changes: 0 additions & 95 deletions src/utils/middleware/cors.middleware.ts

This file was deleted.

Loading

0 comments on commit 536faea

Please sign in to comment.