All files / db db.module.ts

100% Statements 8/8
100% Branches 0/0
100% Functions 0/0
100% Lines 7/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 145x 5x 5x 5x 5x 5x             5x  
import { TypegooseModule } from '@m8a/nestjs-typegoose'
import { Module } from '@nestjs/common'
import { MODELS } from './entities'
import { LastWillDBService } from './services/lastwill.service'
import { MailEventDBService } from './services/mail-event.service'
import { UserDBService } from './services/user.service'
 
@Module({
  imports: [TypegooseModule.forFeature([...MODELS])],
  providers: [UserDBService, MailEventDBService, LastWillDBService],
  exports: [UserDBService, MailEventDBService, LastWillDBService],
})
export class DbModule {}