All files / src app.controller.ts

83.33% Statements 10/12
100% Branches 0/0
50% Functions 2/4
80% Lines 8/10

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 237x 7x     7x 7x     7x 1x       7x         7x        
import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
 
@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}
 
  @Get()
  getHello(): string {
    return this.appService.getHello();
  }
 
  @Get('health')
  getHealth() {
    return this.appService.getHealth();
  }
 
  @Get('info')
  getInfo() {
    return this.appService.getInfo();
  }
}