Skip to content

Commit

Permalink
try to fix test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sszafGCA committed Nov 23, 2023
1 parent 86b176d commit e336196
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import { INestApplication } from '@nestjs/common';
import { Test, TestingModule } from '@nestjs/testing';
import { ServerTestModule } from '@modules/server';
import request from 'supertest';
import { RedisModule } from '@src/infra/redis';

describe('Server Controller (API)', () => {
let app: INestApplication;
beforeAll(async () => {
const moduleFixture: TestingModule = await Test.createTestingModule({
imports: [ServerTestModule],
imports: [ServerTestModule, RedisModule],
}).compile();

app = moduleFixture.createNestApplication();
Expand Down

0 comments on commit e336196

Please sign in to comment.