All files / auth auth.module.ts

100% Statements 12/12
100% Branches 0/0
100% Functions 0/0
100% Lines 11/11

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 14 15 16 17 18 19 20 21 22 23 242x 2x 2x 2x 2x 2x 2x 2x 2x 2x                         2x  
import { Module } from '@nestjs/common'
import { PassportModule } from '@nestjs/passport'
import { DbModule } from '../db/db.module'
import { PaymentsModule } from '../payments/payments.module'
import { SharedModule } from '../shared/shared.module'
import { AuthController } from './auth.controller'
import { AuthService } from './auth.service'
import { PasswordResetTokenStrategy } from './strategies/pw-reset-token.strategy'
import { RefreshTokenStrategy } from './strategies/refresh-token.strategy'
import { VerifyTokenStrategy } from './strategies/verify-token.strategy'
 
@Module({
  imports: [DbModule, SharedModule, PassportModule, PaymentsModule],
  providers: [
    AuthService,
    RefreshTokenStrategy,
    VerifyTokenStrategy,
    PasswordResetTokenStrategy,
  ],
  controllers: [AuthController],
  exports: [AuthService],
})
export class AuthModule {}