From cec2d2675a717b40e046d946b5c1fc80a320374a Mon Sep 17 00:00:00 2001 From: koekiebox Date: Fri, 26 Jul 2024 11:02:56 +0200 Subject: [PATCH] feat(2756): renaming jets for tb. --- packages/backend/jest.tigerbeetle-environment.ts | 6 +++--- packages/backend/src/tests/tigerbeetle.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/jest.tigerbeetle-environment.ts b/packages/backend/jest.tigerbeetle-environment.ts index cec5d2296d..ccaf45db28 100644 --- a/packages/backend/jest.tigerbeetle-environment.ts +++ b/packages/backend/jest.tigerbeetle-environment.ts @@ -1,14 +1,14 @@ -import { startTigerbeetleContainer } from './src/tests/tigerbeetle' +import { startTigerBeetleContainer } from './src/tests/tigerbeetle' import { StartedTestContainer } from 'testcontainers' import CustomTestEnvironment from './jest.custom-environment' -export default class TigerbeetleEnvironment extends CustomTestEnvironment { +export default class TigerBeetleEnvironment extends CustomTestEnvironment { private tbContainer: StartedTestContainer | undefined public async setup(): Promise { await super.setup() - const tbContainer = await startTigerbeetleContainer() + const tbContainer = await startTigerBeetleContainer() this.tbContainer = tbContainer.container this.global.tigerBeetlePort = tbContainer.port diff --git a/packages/backend/src/tests/tigerbeetle.ts b/packages/backend/src/tests/tigerbeetle.ts index a032d17add..b3134b76ae 100644 --- a/packages/backend/src/tests/tigerbeetle.ts +++ b/packages/backend/src/tests/tigerbeetle.ts @@ -8,7 +8,7 @@ const TIGERBEETLE_DIR = '/var/lib/tigerbeetle' const TIGERBEETLE_CONTAINER_LOG = process.env.TIGERBEETLE_CONTAINER_LOG === 'true' -export async function startTigerbeetleContainer(clusterId?: number): Promise<{ +export async function startTigerBeetleContainer(clusterId?: number): Promise<{ container: StartedTestContainer port: number }> {