Then the backend's "memory_heap" check should be "up"

A check of the backend's last health answer (Terminus) has a state: "up", "degraded" or "down". The check is named as the app names its indicator ("memory_heap", "database").

Examples

Then the backend's "memory_heap" check should be "up"
And the backend's "database" check should be "up"
Then the backend's "cache" check should be "degraded"
But the backend's "storage" check should be "down"
And the backend's "memory_rss" check should be "up"

Pattern

Then(/^the backend's "([^"]+)" check should be "(up|degraded|down)"$/, …)

Part of @webship-js/nestjs-steps (github.com/webship/nestjs-steps), a step pack for Webship-js 2.0.x.