Skip to content

Commit

Permalink
fix: main server에서 js를 찾지 못하는 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
i3kae committed Nov 14, 2024
1 parent 1b1a39a commit 1d9b7a9
Show file tree
Hide file tree
Showing 8 changed files with 244 additions and 244 deletions.
2 changes: 1 addition & 1 deletion backend/mainServer/src/app.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { AppService } from './app.service.js';

describe('AppController', () => {
let appController: AppController;
Expand Down
2 changes: 1 addition & 1 deletion backend/mainServer/src/app.controller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import { AppService } from './app.service.js';

@Controller()
export class AppController {
Expand Down
8 changes: 4 additions & 4 deletions backend/mainServer/src/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { HostController } from './host/host.controller';
import { HostService } from './host/host.service';
import { AppController } from './app.controller.js';
import { AppService } from './app.service.js';
import { HostController } from './host/host.controller.js';
import { HostService } from './host/host.service.js';

@Module({
imports: [],
Expand Down
4 changes: 2 additions & 2 deletions backend/mainServer/src/host/host.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// host.controller.spec.ts
import { Test, TestingModule } from '@nestjs/testing';
import { HostController } from './host.controller';
import { HostService } from './host.service';
import { HostController } from './host.controller.js';
import { HostService } from './host.service.js';
import { HttpStatus } from '@nestjs/common';
import {describe, expect, jest} from '@jest/globals';
import {Request, Response} from 'express';
Expand Down
2 changes: 1 addition & 1 deletion backend/mainServer/src/host/host.controller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Controller, Post, Req, Res, HttpException, HttpStatus } from '@nestjs/common';
import { HostService } from './host.service';
import { HostService } from './host.service.js';
import { Request, Response } from 'express';

@Controller('host')
Expand Down
2 changes: 1 addition & 1 deletion backend/mainServer/src/host/host.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { HostService } from './host.service';
import { HostService } from './host.service.js';

describe('HostService', () => {
let service: HostService;
Expand Down
2 changes: 1 addition & 1 deletion backend/mainServer/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { AppModule } from './app.module.js';

async function bootstrap() {
const app = await NestFactory.create(AppModule);
Expand Down
466 changes: 233 additions & 233 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 1d9b7a9

Please sign in to comment.