From d8a98131e72c4023520bcf2c967aa60399e0ad1e Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Wed, 24 Dec 2025 23:23:37 +0330 Subject: [PATCH] remove tests --- test/app.e2e-spec.ts | 23 ----------------------- test/jest-e2e.json | 9 --------- 2 files changed, 32 deletions(-) delete mode 100644 test/app.e2e-spec.ts delete mode 100644 test/jest-e2e.json diff --git a/test/app.e2e-spec.ts b/test/app.e2e-spec.ts deleted file mode 100644 index f85215e..0000000 --- a/test/app.e2e-spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import type { TestingModule } from '@nestjs/testing'; -import { Test } from '@nestjs/testing'; -import type { INestApplication } from '@nestjs/common'; -import request from 'supertest'; -import type { App } from 'supertest/types'; -import { AppModule } from './../src/app.module'; - -describe('AppController (e2e)', () => { - let app: INestApplication; - - beforeEach(async () => { - const moduleFixture: TestingModule = await Test.createTestingModule({ - imports: [AppModule], - }).compile(); - - app = moduleFixture.createNestApplication(); - await app.init(); - }); - - it('/ (GET)', () => { - return request(app.getHttpServer()).get('/').expect(200).expect('Hello World!'); - }); -}); diff --git a/test/jest-e2e.json b/test/jest-e2e.json deleted file mode 100644 index e9d912f..0000000 --- a/test/jest-e2e.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "moduleFileExtensions": ["js", "json", "ts"], - "rootDir": ".", - "testEnvironment": "node", - "testRegex": ".e2e-spec.ts$", - "transform": { - "^.+\\.(t|j)s$": "ts-jest" - } -}