Skip to content

Commit

Permalink
test: Fix module rename error
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroreign committed May 13, 2024
1 parent 71866d6 commit 78a5742
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/src/health/health.spec.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Test, TestingModule } from '@nestjs/testing';
import { Health } from './serverHealthIndicator';
import { HealthModule } from './health.module';

describe('Health', () => {
let provider: Health;
let provider: HealthModule;

beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [Health],
providers: [HealthModule],
}).compile();

provider = module.get<Health>(Health);
provider = module.get<HealthModule>(HealthModule);
});

it('should be defined', () => {
Expand Down

0 comments on commit 78a5742

Please sign in to comment.