1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/test/integration/ocean/Versions.test.ts

29 lines
822 B
TypeScript

import { assert } from 'chai'
import { config } from '../config'
import { Ocean, OceanPlatformTechStatus } from '../../../src' // @oceanprotocol/squid
describe('Versions', () => {
let ocean: Ocean
before(async () => {
ocean = await Ocean.getInstance(config)
})
// TODO: enable again after new versions of Brizo
xit('should return the versions', async () => {
const versions = await ocean.versions.get()
assert.equal(versions.aquarius.status, OceanPlatformTechStatus.Working)
assert.equal(versions.brizo.status, OceanPlatformTechStatus.Working)
assert.equal(versions.squid.status, OceanPlatformTechStatus.Working)
assert.deepEqual(versions.status, {
ok: true,
contracts: true,
network: true
})
})
})