diff --git a/src/modules/health/health.service.spec.ts b/src/modules/health/health.service.spec.ts index 4a402ec..8b95961 100644 --- a/src/modules/health/health.service.spec.ts +++ b/src/modules/health/health.service.spec.ts @@ -17,7 +17,7 @@ describe('HealthService', () => { .compile(); service = module.get(HealthService); - avatarService = module.get>(AvatarService) + avatarService = module.get>(AvatarService); sequelize = module.get>(Sequelize); }); @@ -34,13 +34,13 @@ describe('HealthService', () => { status: 'ok', db: { status: 'ok', - ping: expect.any(Number) + ping: expect.any(Number), }, s3: { status: 'ok', - ping: 1 - } - }) + ping: 1, + }, + }); }); it('When DB fails, then it marks degraded and retains S3', async () => { @@ -55,9 +55,9 @@ describe('HealthService', () => { status: 'degraded', s3: { status: 'ok', - ping: 1 - } - }) + ping: 1, + }, + }); }); it('When S3 fails, then it marks degraded and retains DB', async () => { @@ -72,7 +72,7 @@ describe('HealthService', () => { status: 'degraded', db: { status: 'ok', - ping: expect.any(Number) + ping: expect.any(Number), }, }); });