import { Module } from '@nestjs/common';
import { PrismaService } from '../../prisma/prisma.service';
import { WorkActivityModule } from '../work-activity/work-activity.module';
import { TestCaseController } from './test-case.controller';
import { TEST_CASE_PRISMA, TestCaseService } from './test-case.service';

@Module({
  imports: [WorkActivityModule],
  controllers: [TestCaseController],
  providers: [
    { provide: TEST_CASE_PRISMA, useExisting: PrismaService },
    TestCaseService,
  ],
  exports: [TestCaseService],
})
export class TestCaseModule {}
