Skip to content

Commit a09ea76

Browse files
natanasowkonstantinabl
authored andcommitted
chore: fix test
Signed-off-by: nikolay <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
1 parent bd0d12f commit a09ea76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/server/tests/acceptance/sendRawTransactionExtension.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,8 @@ describe('@sendRawTransactionExtension Acceptance Tests', function () {
512512
expect(invalidResult).to.be.instanceOf(Error);
513513
expect(invalidResult.message).to.include('gas price');
514514
// Verify lock was released (second tx was allowed to proceed)
515-
expect(wrongNonceError.message).to.include('WRONG_NONCE');
515+
expect(wrongNonceError).to.be.instanceOf(Error);
516+
expect(wrongNonceError.message).to.include('nonce');
516517
// Wait for second tx to be processed
517518
await new Promise((r) => setTimeout(r, 2100));
518519

0 commit comments

Comments
 (0)