sungjin

Remove all spec.ts for release.

1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { AppController } from './app.controller';
3 -import { AppService } from './app.service';
4 -
5 -describe('AppController', () => {
6 - let appController: AppController;
7 -
8 - beforeEach(async () => {
9 - const app: TestingModule = await Test.createTestingModule({
10 - controllers: [AppController],
11 - providers: [AppService],
12 - }).compile();
13 -
14 - appController = app.get<AppController>(AppController);
15 - });
16 -
17 - describe('root', () => {
18 - it('should return "Hello World!"', () => {
19 - expect(appController.getHello()).toBe('Hello World!');
20 - });
21 - });
22 -});
1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { AuthController } from './auth.controller';
3 -
4 -describe('AuthController', () => {
5 - let controller: AuthController;
6 -
7 - beforeEach(async () => {
8 - const module: TestingModule = await Test.createTestingModule({
9 - controllers: [AuthController],
10 - }).compile();
11 -
12 - controller = module.get<AuthController>(AuthController);
13 - });
14 -
15 - it('should be defined', () => {
16 - expect(controller).toBeDefined();
17 - });
18 -});
1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { AuthService } from './auth.service';
3 -
4 -describe('AuthService', () => {
5 - let service: AuthService;
6 -
7 - beforeEach(async () => {
8 - const module: TestingModule = await Test.createTestingModule({
9 - providers: [AuthService],
10 - }).compile();
11 -
12 - service = module.get<AuthService>(AuthService);
13 - });
14 -
15 - it('should be defined', () => {
16 - expect(service).toBeDefined();
17 - });
18 -});
1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { PostController } from './post.controller';
3 -
4 -describe('PostController', () => {
5 - let controller: PostController;
6 -
7 - beforeEach(async () => {
8 - const module: TestingModule = await Test.createTestingModule({
9 - controllers: [PostController],
10 - }).compile();
11 -
12 - controller = module.get<PostController>(PostController);
13 - });
14 -
15 - it('should be defined', () => {
16 - expect(controller).toBeDefined();
17 - });
18 -});
1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { PostService } from './post.service';
3 -
4 -describe('PostService', () => {
5 - let service: PostService;
6 -
7 - beforeEach(async () => {
8 - const module: TestingModule = await Test.createTestingModule({
9 - providers: [PostService],
10 - }).compile();
11 -
12 - service = module.get<PostService>(PostService);
13 - });
14 -
15 - it('should be defined', () => {
16 - expect(service).toBeDefined();
17 - });
18 -});
1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { RunnerController } from './runner.controller';
3 -
4 -describe('RunnerController', () => {
5 - let controller: RunnerController;
6 -
7 - beforeEach(async () => {
8 - const module: TestingModule = await Test.createTestingModule({
9 - controllers: [RunnerController],
10 - }).compile();
11 -
12 - controller = module.get<RunnerController>(RunnerController);
13 - });
14 -
15 - it('should be defined', () => {
16 - expect(controller).toBeDefined();
17 - });
18 -});
1 -import { Test, TestingModule } from '@nestjs/testing';
2 -import { RunnerService } from './runner.service';
3 -
4 -describe('RunnerService', () => {
5 - let service: RunnerService;
6 -
7 - beforeEach(async () => {
8 - const module: TestingModule = await Test.createTestingModule({
9 - providers: [RunnerService],
10 - }).compile();
11 -
12 - service = module.get<RunnerService>(RunnerService);
13 - });
14 -
15 - it('should be defined', () => {
16 - expect(service).toBeDefined();
17 - });
18 -});