From c4127a9e318283845456b90dabdc278fce573f88 Mon Sep 17 00:00:00 2001 From: Ahmed Ali Date: Fri, 3 Jul 2020 14:04:27 +0200 Subject: [PATCH] fix lint --- src/metadatastore/MetadataStore.ts | 2 +- test/integration/Marketplaceflow.test.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/metadatastore/MetadataStore.ts b/src/metadatastore/MetadataStore.ts index e1a3182f..041a29ea 100644 --- a/src/metadatastore/MetadataStore.ts +++ b/src/metadatastore/MetadataStore.ts @@ -316,7 +316,7 @@ export class MetadataStore { } public async getOwnerAssets(owner: string): Promise { - let q = { + const q = { offset: 100, page: 1, query: { diff --git a/test/integration/Marketplaceflow.test.ts b/test/integration/Marketplaceflow.test.ts index 2cd6e44b..1964f251 100644 --- a/test/integration/Marketplaceflow.test.ts +++ b/test/integration/Marketplaceflow.test.ts @@ -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) }) })