Remove Machine module and related files
Deleted MachineController, MachineModule, and associated tests to streamline the codebase. This simplifies the project structure by removing unused or redundant components.
This commit is contained in:
parent
f4393301a2
commit
cb6bd9f409
@ -1,20 +0,0 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { MachineController } from './machine.controller';
|
||||
import { MachineService } from './machine.service';
|
||||
|
||||
describe('MachineController', () => {
|
||||
let controller: MachineController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [MachineController],
|
||||
providers: [MachineService],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<MachineController>(MachineController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
@ -1,7 +0,0 @@
|
||||
import { Controller } from '@nestjs/common';
|
||||
import { MachineService } from './machine.service';
|
||||
|
||||
@Controller('machine')
|
||||
export class MachineController {
|
||||
constructor(private readonly machineService: MachineService) {}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { MachineService } from './machine.service';
|
||||
import { MachineController } from './machine.controller';
|
||||
|
||||
@Module({
|
||||
controllers: [MachineController],
|
||||
providers: [MachineService],
|
||||
})
|
||||
export class MachineModule {}
|
Loading…
x
Reference in New Issue
Block a user