From 198563f330c67571af1e7fde1b17effea6f6da2f Mon Sep 17 00:00:00 2001 From: jos3duardo Date: Sat, 9 Aug 2025 22:35:52 -0400 Subject: [PATCH] Add unit tests for HealthService --- .../health/tests/health.service.spec.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/modules/health/tests/health.service.spec.ts diff --git a/src/modules/health/tests/health.service.spec.ts b/src/modules/health/tests/health.service.spec.ts new file mode 100644 index 0000000..c89be68 --- /dev/null +++ b/src/modules/health/tests/health.service.spec.ts @@ -0,0 +1,18 @@ +import { Test, TestingModule } from '@nestjs/testing'; +import { HealthService } from '../services/health.service'; + +describe('HealthService', () => { + let service: HealthService; + + beforeEach(async () => { + const module: TestingModule = await Test.createTestingModule({ + providers: [HealthService], + }).compile(); + + service = module.get(HealthService); + }); + + it('should be defined', () => { + expect(service).toBeDefined(); + }); +});