All files / libs/kernel/logger/server/src/lib/middleware/__tests__ dummy.controller.ts

100% Statements 12/12
100% Branches 1/1
100% Functions 1/1
100% Lines 12/12

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 131x 1x 1x 1x 1x 1x 1x 1x 5x 5x 5x 1x  
import { Controller, Get, Logger, Param } from '@nestjs/common';
 
@Controller('')
export class DummyController {
  private readonly logger = new Logger(DummyController.name);
 
  @Get()
  public list<T>(@Param('content') content: T) {
    this.logger.log(content);
    return content;
  }
}