1
0
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:
Miquel A. Cabot 2022-04-14 09:17:44 +02:00
parent e3de191982
commit 689823d281

View File

@ -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)