1
0
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:
Ahmed Ali 2020-06-29 18:48:14 +02:00
parent 5f95c67e3e
commit 06933aa2fa

View File

@ -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 () => {
// const config = new Config()
// marketOcean = await Ocean.getInstance(config)
// service1 = marketOcean.assets.getService('download')
// service2 = marketOcean.assets.getService('access')
// })
it('Marketplace posts asset for sale', async () => {
// const downloadService = await ocean.assets.getService(ddo.id, 'download')
})
it('Bob gets datatokens', async () => {
const ts = await datatoken.transfer(