This commit is contained in:
xXpuma99Xx
2022-04-04 20:02:54 -05:00
parent 4681fb1f58
commit 3c8dd17089
62 changed files with 541 additions and 4 deletions
@@ -2,9 +2,11 @@ import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { CarreraProgramaController } from './carrera-programa.controller';
import { CarreraPrograma } from './carrera-programa.entity';
import { CarreraProgramaService } from './carrera-programa.service';
@Module({
imports: [TypeOrmModule.forFeature([CarreraPrograma])],
controllers: [CarreraProgramaController],
providers: [CarreraProgramaService],
})
export class CarreraProgramaModule {}
@@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { CarreraProgramaService } from './carrera-programa.service';
describe('CarreraProgramaService', () => {
let service: CarreraProgramaService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [CarreraProgramaService],
}).compile();
service = module.get<CarreraProgramaService>(CarreraProgramaService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});
@@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class CarreraProgramaService {}