Skip to content

Commit

Permalink
fix(tests): ethereum-steth test if trailing spaces trimmed
Browse files Browse the repository at this point in the history
  • Loading branch information
arwer13 committed May 28, 2024
1 parent a50e133 commit f6c6467
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -889,9 +889,10 @@ describe('StethOperationSrv', () => {

const expectedShareRateErrFinding = {
alertId: 'LIDO-INVARIANT-ERROR',
description: `Prev.shareRate(19061448) = 1.1549004556051977e+27
Curr.shareRate(19061449) = 1.3098009112103954e+27
Diff: 1.5490045560519778e+26`,
description:
`Prev.shareRate(19061448) = 1.1549004556051977e+27 \n` +
`Curr.shareRate(19061449) = 1.3098009112103954e+27 \n` +
`Diff: 1.5490045560519778e+26`,
name: '🚨🚨🚨 Share rate unexpected has changed',
severity: Finding.Severity.CRITICAL,
type: Finding.FindingType.SUSPICIOUS,
Expand Down Expand Up @@ -936,9 +937,10 @@ Diff: 1.5490045560519778e+26`,

const expectedShareRateErrFinding = {
alertId: 'LIDO-INVARIANT-ERROR',
description: `Prev.shareRate(19061448) = 1.1549004556051977e+27
Curr.shareRate(19061449) = 1e+27
Diff: -1.5490045560519778e+26`,
description:
`Prev.shareRate(19061448) = 1.1549004556051977e+27 \n` +
`Curr.shareRate(19061449) = 1e+27 \n` +
`Diff: -1.5490045560519778e+26`,
name: '🚨🚨🚨 Share rate unexpected has changed',
severity: Finding.Severity.CRITICAL,
type: Finding.FindingType.SUSPICIOUS,
Expand Down

0 comments on commit f6c6467

Please sign in to comment.