Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nawbc committed Nov 22, 2023
1 parent 062e092 commit 284ce4f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"jest": "29.3.1",
"jest-extended": "3.2.0",
"lint-staged": "13.1.0",
"prettier": "2.8.1",
"prettier": "3.1.0",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.8.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/redis-health/test/cluster/e2e/health.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NestFastifyApplication, FastifyAdapter } from '@nestjs/platform-fastify';
import { FastifyInstance } from 'fastify';
import { AppModule } from '../src/app.module';

describe('HealthController (e2e)', () => {
Expand All @@ -12,7 +11,7 @@ describe('HealthController (e2e)', () => {
}).compile();
app = module.createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
await (app.getHttpAdapter().getInstance() as FastifyInstance).ready();
await app.getHttpAdapter().getInstance().ready();
});

afterAll(async () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/redis-health/test/redis/e2e/health.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NestFastifyApplication, FastifyAdapter } from '@nestjs/platform-fastify';
import { FastifyInstance } from 'fastify';
import { AppModule } from '../src/app.module';

describe('HealthController (e2e)', () => {
Expand All @@ -12,7 +11,7 @@ describe('HealthController (e2e)', () => {
}).compile();
app = module.createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
await (app.getHttpAdapter().getInstance() as FastifyInstance).ready();
await app.getHttpAdapter().getInstance().ready();
});

afterAll(async () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/redis/test/cluster/e2e/inject.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NestFastifyApplication, FastifyAdapter } from '@nestjs/platform-fastify';
import { FastifyInstance } from 'fastify';
import { AppModule } from '../src/app.module';

describe('InjectController (e2e)', () => {
Expand All @@ -12,7 +11,7 @@ describe('InjectController (e2e)', () => {
}).compile();
app = module.createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
await (app.getHttpAdapter().getInstance() as FastifyInstance).ready();
await app.getHttpAdapter().getInstance().ready();
});

afterAll(async () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/redis/test/cluster/e2e/manager.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NestFastifyApplication, FastifyAdapter } from '@nestjs/platform-fastify';
import { FastifyInstance } from 'fastify';
import { AppModule } from '../src/app.module';

describe('ManagerController (e2e)', () => {
Expand All @@ -12,7 +11,7 @@ describe('ManagerController (e2e)', () => {
}).compile();
app = module.createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
await (app.getHttpAdapter().getInstance() as FastifyInstance).ready();
await app.getHttpAdapter().getInstance().ready();
});

afterAll(async () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/redis/test/redis/e2e/inject.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NestFastifyApplication, FastifyAdapter } from '@nestjs/platform-fastify';
import { FastifyInstance } from 'fastify';
import { AppModule } from '../src/app.module';

describe('InjectController (e2e)', () => {
Expand All @@ -12,7 +11,7 @@ describe('InjectController (e2e)', () => {
}).compile();
app = module.createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
await (app.getHttpAdapter().getInstance() as FastifyInstance).ready();
await app.getHttpAdapter().getInstance().ready();
});

afterAll(async () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/redis/test/redis/e2e/manager.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { NestFastifyApplication, FastifyAdapter } from '@nestjs/platform-fastify';
import { FastifyInstance } from 'fastify';
import { AppModule } from '../src/app.module';

describe('ManagerController (e2e)', () => {
Expand All @@ -12,7 +11,7 @@ describe('ManagerController (e2e)', () => {
}).compile();
app = module.createNestApplication<NestFastifyApplication>(new FastifyAdapter());
await app.init();
await (app.getHttpAdapter().getInstance() as FastifyInstance).ready();
await app.getHttpAdapter().getInstance().ready();
});

afterAll(async () => {
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 284ce4f

Please sign in to comment.