mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add resolve test
This commit is contained in:
parent
5f95c67e3e
commit
06933aa2fa
@ -133,15 +133,13 @@ describe('Marketplace flow', () => {
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
it('Marketplace should resolve asset using DID', async () => {
|
||||||
|
assert(ddo, await ocean.assets.resolve(ddo.id))
|
||||||
|
})
|
||||||
|
|
||||||
// it('Marketplace posts asset for sale', async () => {
|
it('Marketplace posts asset for sale', async () => {
|
||||||
// const config = new Config()
|
// const downloadService = await ocean.assets.getService(ddo.id, 'download')
|
||||||
// marketOcean = await Ocean.getInstance(config)
|
})
|
||||||
|
|
||||||
// service1 = marketOcean.assets.getService('download')
|
|
||||||
// service2 = marketOcean.assets.getService('access')
|
|
||||||
|
|
||||||
// })
|
|
||||||
|
|
||||||
it('Bob gets datatokens', async () => {
|
it('Bob gets datatokens', async () => {
|
||||||
const ts = await datatoken.transfer(
|
const ts = await datatoken.transfer(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user