mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix(testing): correct the type of server
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
import { HttpServer, HttpStatus, INestApplication } from '@nestjs/common';
|
||||
import { HttpStatus, INestApplication } from '@nestjs/common';
|
||||
import {
|
||||
FastifyAdapter,
|
||||
NestFastifyApplication,
|
||||
} from '@nestjs/platform-fastify';
|
||||
import { Test } from '@nestjs/testing';
|
||||
import { expect } from 'chai';
|
||||
import { RawServerDefault } from 'fastify';
|
||||
import * as request from 'supertest';
|
||||
import { ErrorsController } from '../src/errors/errors.controller';
|
||||
|
||||
describe('Error messages', () => {
|
||||
let server: HttpServer;
|
||||
let server: RawServerDefault;
|
||||
|
||||
describe('Express', () => {
|
||||
let app: INestApplication;
|
||||
|
||||
Reference in New Issue
Block a user