All files / core/helpers messages.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 3/3
100% Lines 7/7
1 2 3 4 5 6 7 8 9 10 111x   1x 4x   1x 4x   1x 1x  
import { RequestMethod } from '@nestjs/common/enums/request-method.enum';
 
export const MODULE_INIT_MESSAGE = (text, module: string) =>
  `${module} dependencies initialized`;
 
export const ROUTE_MAPPED_MESSAGE = (path: string, method) =>
  `Mapped {${path}, ${RequestMethod[method]}} route`;
 
export const CONTROLLER_MAPPING_MESSAGE = (name: string, path: string) =>
  `${name} {${path}}:`;