mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
29 lines
819 B
TypeScript
29 lines
819 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
|
|
})
|
|
})
|
|
})
|