Added full test suite to workflow.

This commit is contained in:
Maria Carmina 2023-04-25 16:41:33 +03:00
parent 7c717392bc
commit 360881d910
2 changed files with 1 additions and 9 deletions

View File

@ -70,13 +70,7 @@ jobs:
env:
ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json
BARGE_FOLDER: /home/runner/.ocean/
- run: |
npm run test-publish-consume
npm run test-dt
npm run test-fixed
npm run test-dispenser
npm run test-nft
npm run test-ve
- run: npm run test-integration
env:
ADDRESS_FILE: /home/runner/.ocean/ocean-contracts/artifacts/address.json
BARGE_FOLDER: /home/runner/.ocean/

View File

@ -618,7 +618,6 @@ describe('veOcean tests', async () => {
)
const timestamp = Math.floor(Date.now() / 1000)
const unlockTime = timestamp + 30 * 86400
console.log('unlock time', unlockTime)
if (parseInt(currentBalance) > 0 || currentLock > 0) {
// we already have some locked tokens, so our transaction should fail
@ -717,7 +716,6 @@ describe('veOcean tests', async () => {
body: JSON.stringify(delegateQuery)
})
const json = await delegateResponse.json()
console.log('json: ', json)
assert(json?.data?.veDelegations, 'No veDelegations')
assert(
json?.data?.veDelegations.eventIndex !== null,