From 2c5b9d7d22226c70003643bf41aab1d0c8ea7a91 Mon Sep 17 00:00:00 2001 From: Tom Adler Date: Wed, 15 Jun 2022 13:38:20 +0200 Subject: [PATCH] fix: deposit amount test (#556) --- packages/core/src/__integrationtests__/Attestation.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/__integrationtests__/Attestation.spec.ts b/packages/core/src/__integrationtests__/Attestation.spec.ts index b167241f7..2f5aabe81 100644 --- a/packages/core/src/__integrationtests__/Attestation.spec.ts +++ b/packages/core/src/__integrationtests__/Attestation.spec.ts @@ -51,7 +51,9 @@ beforeAll(async () => { it('fetches the correct deposit amount', async () => { const depositAmount = await Attestation.queryDepositAmount() - expect(depositAmount.toString()).toMatchInlineSnapshot(`"120950000000000"`) + expect(['120950000000000', '120900000000000']).toContain( + depositAmount.toString() + ) }) describe('handling attestations that do not exist', () => {