Skip to content

Commit

Permalink
Another shot at e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Jan 30, 2024
1 parent d12b87b commit d2c8477
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions yarn-project/end-to-end/src/e2e_persistence.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,7 @@ describe('Aztec persistence', () => {
await context.pxe.registerRecipient(ownerAddress);

const wallet = await getUnsafeSchnorrAccount(context.pxe, Fq.random(), Fr.ZERO).waitDeploy();
const contract = await TokenContract.at(contractAddress, wallet);
await expect(contract.methods.balance_of_private(ownerAddress.address).view()).rejects.toThrowError(
/has not been registered/,
);
await expect(TokenContract.at(contractAddress, wallet)).rejects.toThrow(/has not been registered/);
});

it("pxe does not have owner's private notes", async () => {
Expand Down

0 comments on commit d2c8477

Please sign in to comment.