1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
alexcos20 2023-02-22 15:47:11 +02:00
parent 10c0b2fc6e
commit 6186c71a6f

View File

@ -127,6 +127,8 @@ describe('veOcean tests', () => {
const newLock = parseInt(String(currentLock)) + 7 * 86400 + 20
await veOcean.increaseUnlockTime(newLock)
const newCurrentLock = await veOcean.lockEnd(await Alice.getAddress())
console.log(currentLock)
console.log(newCurrentLock)
assert(newCurrentLock > currentLock, 'Lock time should change"')
})