Skip to content

Commit

Permalink
Fix integration l1 publisher test
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Dec 9, 2024
1 parent ee2edd8 commit a931c1a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,14 +590,14 @@ describe('L1Publisher integration', () => {
// Test first call
expect(loggerErrorSpy).toHaveBeenNthCalledWith(
1,
expect.stringMatching(/^L1 Transaction 0x[a-f0-9]{64} reverted$/),
expect.stringMatching(/^L1 transaction 0x[a-f0-9]{64} reverted$/i),
);

// Test second call
expect(loggerErrorSpy).toHaveBeenNthCalledWith(
2,
expect.stringMatching(
/^Rollup process tx reverted\. The contract function "propose" reverted\. Error: Rollup__InvalidInHash/,
/^Rollup process tx reverted\. The contract function "propose" reverted\. Error: Rollup__InvalidInHash/i,
),
undefined,
expect.objectContaining({
Expand Down

0 comments on commit a931c1a

Please sign in to comment.