From b7688a3dc9427e172e255d2dd318ad5c4e145f3f Mon Sep 17 00:00:00 2001 From: josh crites Date: Mon, 5 Aug 2024 08:58:25 -0400 Subject: [PATCH] add logger --- src/test/index.test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/index.test.ts b/src/test/index.test.ts index 4ec59a1..fddcbe2 100644 --- a/src/test/index.test.ts +++ b/src/test/index.test.ts @@ -1,5 +1,5 @@ import { EasyPrivateVotingContractArtifact, EasyPrivateVotingContract } from "../artifacts/EasyPrivateVoting.js" -import { AccountWallet, CompleteAddress, ContractDeployer, Fr, PXE, waitForPXE, TxStatus, createPXEClient, getContractInstanceFromDeployParams, deriveKeys } from "@aztec/aztec.js"; +import { AccountWallet, CompleteAddress, ContractDeployer, createDebugLogger, Fr, PXE, waitForPXE, TxStatus, createPXEClient, getContractInstanceFromDeployParams, DebugLogger } from "@aztec/aztec.js"; import { getInitialTestAccountsWallets } from "@aztec/accounts/testing" const setupSandbox = async () => { @@ -13,8 +13,12 @@ describe("Voting", () => { let pxe: PXE; let wallets: AccountWallet[] = []; let accounts: CompleteAddress[] = []; + let logger: DebugLogger; beforeAll(async () => { + logger = createDebugLogger('aztec:aztec-starter'); + logger.info("Aztec-Starter tests running.") + pxe = await setupSandbox(); wallets = await getInitialTestAccountsWallets(pxe);