Skip to content

Commit

Permalink
fix DUSD not defined at setGov.lock.token.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Apr 10, 2024
1 parent d9beb8a commit 7dbe814
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ describe('SetGov v0/locks/token', () => {
}, {
token: 'TSLA',
currency: 'USD'
}, {
token: 'DUSD',
currency: 'USD'
}],
{ weightage: 1 })
await testing.generate(1)
Expand All @@ -47,6 +50,9 @@ describe('SetGov v0/locks/token', () => {
}, {
tokenAmount: '1@TSLA',
currency: 'USD'
}, {
tokenAmount: '1@DUSD',
currency: 'USD'
}]
})
await testing.generate(1)
Expand All @@ -65,6 +71,10 @@ describe('SetGov v0/locks/token', () => {
symbol: 'TSLA',
fixedIntervalPriceId: 'TSLA/USD'
})
await testing.rpc.loan.setLoanToken({
symbol: 'DUSD',
fixedIntervalPriceId: 'DUSD/USD'
})
await testing.generate(1)

const tslaInfo = await testing.rpc.token.getToken('TSLA')
Expand Down

0 comments on commit 7dbe814

Please sign in to comment.