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:
Mathis H (Avnyr) 2024-09-26 14:56:18 +02:00
parent f4393301a2
commit cb6bd9f409
Signed by: Mathis
GPG Key ID: DD9E0666A747D126
3 changed files with 0 additions and 36 deletions

View File

@ -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();
});
});

View File

@ -1,7 +0,0 @@
import { Controller } from '@nestjs/common';
import { MachineService } from './machine.service';
@Controller('machine')
export class MachineController {
constructor(private readonly machineService: MachineService) {}
}

View File

@ -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 {}