Click in order · NestJS course · Module 6: Error Handling and Monitoring

health.check() Syntax

Arrange the elements of the HealthCheckService.check() call in the correct order

Items to click

  • () => this.memory.checkHeap('memory', 150 * 1024 * 1024),
  • this.health.check([
  • () => this.db.pingCheck('database'),
  • ])

You can check the correct answer by solving this task in the CodeWorlds game.