Added full test suite to workflow.
This commit is contained in:
parent
7c717392bc
commit
360881d910
|
@ -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/
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue