Skip to content

Commit

Permalink
� fix: lint 오류사항 임시 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 5, 2024
1 parent e00fa33 commit 53e739d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion BE/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import { NestFactory } from '@nestjs/core';
import { Logger } from '@nestjs/common';
import { AppModule } from './app.module';

async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(process.env.PORT ?? 3000);
}
bootstrap();

const logger = new Logger('Bootstrap');
bootstrap().catch((err) => {
logger.error('Failed to start application:', err);
process.exit(1);
});
1 change: 1 addition & 0 deletions BE/test/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ describe('AppController (e2e)', () => {
});

it('/ (GET)', () => {
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
return request(app.getHttpServer())
.get('/')
.expect(200)
Expand Down

0 comments on commit 53e739d

Please sign in to comment.