From 801fb6f8c4800e11ebcb42eb33b1de4eae933fd5 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 28 Nov 2023 11:20:34 +0000 Subject: [PATCH] fix: slow tree test more lenient --- yarn-project/end-to-end/src/e2e_slow_tree.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6ce7cda57a8..87c267e5e82 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', + /Assertion failed: Root does not match expected/, ); logger(`"Reads" tree[${key}], expect to be 1`);