Skip to content

Commit e639c0f

Browse files
committed
fix broken test
1 parent 09b1b22 commit e639c0f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/l2/withdraw/calculateRewardAmount.spec.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { calculateRewardAmountCaller } from './calculateRewardAmount'
1+
import {
2+
calculateRewardAmountCaller,
3+
HolderRewards,
4+
} from './calculateRewardAmount'
25

36
describe('calculateRewardAmount.spec.ts', () => {
47
describe('createCalculateRewardAmountCaller', () => {
@@ -14,7 +17,12 @@ describe('calculateRewardAmount.spec.ts', () => {
1417
),
1518
}
1619

17-
const expected = value
20+
const expected: HolderRewards = {
21+
amount: 'value1',
22+
price: 'value2',
23+
cap: 'value3',
24+
allReward: 'value4',
25+
}
1826

1927
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2028
const caller = calculateRewardAmountCaller(rewardContract as any)

0 commit comments

Comments
 (0)