test: server-info e2e tests (#3948)

This commit is contained in:
Jason Rasmussen 2023-09-01 22:01:54 -04:00 committed by GitHub
parent b7fd5dcb4a
commit 4e5bf7ae2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 176 additions and 7 deletions

View file

@ -2,7 +2,7 @@ import { PostgreSqlContainer } from '@testcontainers/postgresql';
import { GenericContainer } from 'testcontainers';
export default async () => {
process.env.NODE_ENV = 'development';
process.env.TYPESENSE_API_KEY = 'abc123';
process.env.TYPESENSE_ENABLED = 'false';
const pg = await new PostgreSqlContainer('postgres')
.withExposedPorts(5432)