mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
uncomment and fix broken tests
This commit is contained in:
parent
e3de191982
commit
689823d281
@ -222,6 +222,12 @@ describe('SideStaking unit test', () => {
|
||||
).to.equal('0')
|
||||
})
|
||||
|
||||
it('#getDatatokenBalance ', async () => {
|
||||
expect(
|
||||
await sideStaking.getDatatokenBalance(contracts.sideStakingAddress, erc20Token)
|
||||
).to.equal(((Math.pow(2, 256) - 1) / Math.pow(10, 18)).toString())
|
||||
})
|
||||
|
||||
it('#getvestingAmount ', async () => {
|
||||
expect(
|
||||
await sideStaking.getvestingAmount(contracts.sideStakingAddress, erc20Token)
|
||||
@ -412,6 +418,12 @@ describe('SideStaking unit test', () => {
|
||||
).to.equal('0')
|
||||
})
|
||||
|
||||
it('#getDatatokenBalance ', async () => {
|
||||
expect(
|
||||
await sideStaking.getDatatokenBalance(contracts.sideStakingAddress, erc20Token)
|
||||
).to.equal(((Math.pow(2, 256) - 1) / Math.pow(10, 18)).toString())
|
||||
})
|
||||
|
||||
it('#getvestingAmount ', async () => {
|
||||
expect(
|
||||
await sideStaking.getvestingAmount(contracts.sideStakingAddress, erc20Token)
|
||||
|
Loading…
x
Reference in New Issue
Block a user