diff --git a/elements/lisk-transactions/test/15_pom_transaction.spec.ts b/elements/lisk-transactions/test/15_pom_transaction.spec.ts index 87773182bb7..9a91923e500 100644 --- a/elements/lisk-transactions/test/15_pom_transaction.spec.ts +++ b/elements/lisk-transactions/test/15_pom_transaction.spec.ts @@ -389,7 +389,7 @@ describe('Proof-of-misbehavior transaction', () => { const { errors } = await sameAccountTransaction.apply(store); // returned errors here are unrelated to the tested issue: nonce and signature - expect(errors.length).toEqual(2); + expect(errors).toHaveLength(2); }); });