module cleanup

This commit is contained in:
2025-12-19 01:22:45 +01:00
parent d617654928
commit d0fac9e6c1
135 changed files with 5104 additions and 1315 deletions

View File

@@ -0,0 +1,28 @@
import { Test, TestingModule } from '@nestjs/testing';
import { RaceModule } from './RaceModule';
import { RaceController } from './RaceController';
import { RaceService } from './RaceService';
describe('RaceModule', () => {
let module: TestingModule;
beforeEach(async () => {
module = await Test.createTestingModule({
imports: [RaceModule],
}).compile();
});
it('should compile the module', async () => {
expect(module).toBeDefined();
});
it('should have RaceController', () => {
const controller = module.get<RaceController>(RaceController);
expect(controller).toBeDefined();
});
it('should have RaceService', () => {
const service = module.get<RaceService>(RaceService);
expect(service).toBeDefined();
});
});