Skip to content

Commit

Permalink
test: e2e.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-monninger committed Jan 24, 2024
1 parent 609175a commit 325f662
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/api/getHealthChecks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { NextApiRequest, NextApiResponse } from 'next'
import { MockHealthCheckAsyncOperations, PostgresHealthCheckAsyncOperations } from '@/data'
import { HealthCheck, HealthCheckPage } from '@/util';

console.log(process.env.POSTGRES_HOST, process.env.POSTGRES_PORT);
const operations = process.env.MOCK ?
new MockHealthCheckAsyncOperations() :
new PostgresHealthCheckAsyncOperations({
Expand Down

0 comments on commit 325f662

Please sign in to comment.