Skip to content

Commit

Permalink
feat(2756): spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
koekiebox committed Jun 18, 2024
1 parent 8572518 commit 304b209
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/backend/src/accounting/tigerbeetle/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ describe('TigerBeetle Accounting Service', (): void => {
}

beforeAll(async (): Promise<void> => {
const tigerbeetlePort = (global as unknown as { tigerbeetlePort: number })
.tigerbeetlePort
const tigerBeetlePort = (global as unknown as { tigerBeetlePort: number })
.tigerBeetlePort

deps = initIocContainer({
...Config,
tigerbeetleReplicaAddresses: [tigerbeetlePort.toString()],
useTigerbeetle: true
tigerBeetleReplicaAddresses: [tigerBeetlePort.toString()],
useTigerBeetle: true
})
appContainer = await createTestApp(deps)
accountingService = await deps.use('accountingService')
Expand Down
1 change: 0 additions & 1 deletion packages/backend/src/asset/service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ describe('Asset Service', (): void => {
expect(liquidityAndSettlementSpy).toHaveBeenCalledWith(
asset,
LiquidityAccountType.ASSET,
asset.ledger,
expect.any(Function)
)

Expand Down
6 changes: 3 additions & 3 deletions packages/backend/src/config/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ export const Config = {
? Buffer.from(process.env.STREAM_SECRET, 'base64')
: crypto.randomBytes(32),

useTigerbeetle: envBool('USE_TIGERBEETLE', false),
tigerbeetleClusterId: envInt('TIGERBEETLE_CLUSTER_ID', 0),
tigerbeetleReplicaAddresses: process.env.TIGERBEETLE_REPLICA_ADDRESSES
useTigerBeetle: envBool('USE_TIGERBEETLE', false),
tigerBeetleClusterId: envInt('TIGERBEETLE_CLUSTER_ID', 0),
tigerBeetleReplicaAddresses: process.env.TIGERBEETLE_REPLICA_ADDRESSES
? process.env.TIGERBEETLE_REPLICA_ADDRESSES.split(',')
: ['3004'],

Expand Down

0 comments on commit 304b209

Please sign in to comment.