diff --git a/yarn-project/end-to-end/src/e2e_slow_tree.test.ts b/yarn-project/end-to-end/src/e2e_slow_tree.test.ts index 6ce7cda57a82..8677df3d36d0 100644 --- a/yarn-project/end-to-end/src/e2e_slow_tree.test.ts +++ b/yarn-project/end-to-end/src/e2e_slow_tree.test.ts @@ -133,7 +133,7 @@ describe('e2e_slow_tree', () => { ); await wallet.addCapsule(getMembershipCapsule({ ...zeroProof, value: new Fr(0) })); await expect(contract.methods.read_at(key).simulate()).rejects.toThrowError( - 'Assertion failed: Root does not match expected', + expect.stringContaining('Assertion failed: Root does not match expected'), ); logger(`"Reads" tree[${key}], expect to be 1`);