1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
Ahmed Ali 2020-07-03 14:04:27 +02:00
parent a57d6610e2
commit c4127a9e31
2 changed files with 3 additions and 5 deletions

View File

@ -316,7 +316,7 @@ export class MetadataStore {
}
public async getOwnerAssets(owner: string): Promise<DDO[]> {
let q = {
const q = {
offset: 100,
page: 1,
query: {

View File

@ -181,10 +181,8 @@ describe('Marketplace flow', () => {
)
})
})
it ('owner can list there assets', async () => {
const assets = await ocean.assets.ownerAssets(
alice.getId()
)
it('owner can list there assets', async () => {
const assets = await ocean.assets.ownerAssets(alice.getId())
assert(assets.length > 0)
})
})