diff --git a/apps/connection-manager/test/app.e2e-spec.ts b/apps/connection-manager/test/app.e2e-spec.ts deleted file mode 100644 index 071ca4ed95a2f6f19141de5f08fe4f6a546196f9..0000000000000000000000000000000000000000 --- a/apps/connection-manager/test/app.e2e-spec.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { INestApplication } from '@nestjs/common'; -import type { TestingModule } from '@nestjs/testing'; - -import { afterEach, beforeEach, describe, it } from '@jest/globals'; -import { Test } from '@nestjs/testing'; -import request from 'supertest'; - -import AppModule from '../src/app.module.js'; - -describe('AppController (e2e)', () => { - let app: INestApplication; - - beforeEach(async () => { - const moduleFixture: TestingModule = await Test.createTestingModule({ - imports: [AppModule], - }).compile(); - - app = moduleFixture.createNestApplication(); - await app.init(); - }); - - afterEach(async () => { - await app.close(); - }); - - it('/v1/health (GET)', () => - request(app.getHttpServer()).get('/health').expect(200)); -}); diff --git a/apps/connection-manager/test/jest.config.js b/apps/connection-manager/test/jest.config.js deleted file mode 100644 index c2b3ddf9bf2a2231e63f8b040213ce5ffcbb9412..0000000000000000000000000000000000000000 --- a/apps/connection-manager/test/jest.config.js +++ /dev/null @@ -1,9 +0,0 @@ -/** @type {import('jest').Config} */ - -import config from '../jest.config.js'; - -export default { - ...config, - rootDir: '.', - testRegex: '.*\\.e2e-spec\\.ts$', -};