diff --git a/test/integration/ComputeFlow.test.ts b/test/integration/ComputeFlow.test.ts index 3b33088b..4f377981 100644 --- a/test/integration/ComputeFlow.test.ts +++ b/test/integration/ComputeFlow.test.ts @@ -10,6 +10,7 @@ import factory from '@oceanprotocol/contracts/artifacts/DTFactory.json' import datatokensTemplate from '@oceanprotocol/contracts/artifacts/DataTokenTemplate.json' import { Account, DDO, Metadata } from '../../src/lib' import { Cluster, Container, Server } from '../../src/ocean/Compute' +import { LoggerInstance } from '../../src/utils' const web3 = new Web3('http://127.0.0.1:8545') function sleep(ms: number) { @@ -87,7 +88,8 @@ describe('Compute flow', () => { contracts.factoryAddress, factory.abi as AbiItem[], datatokensTemplate.abi as AbiItem[], - web3 + web3, + LoggerInstance ) tokenAddress = await datatoken.create( blob, diff --git a/test/integration/Marketplaceflow.test.ts b/test/integration/Marketplaceflow.test.ts index bef949b7..4de24496 100644 --- a/test/integration/Marketplaceflow.test.ts +++ b/test/integration/Marketplaceflow.test.ts @@ -9,6 +9,7 @@ import { Account, EditableMetadata, Service, ServiceAccess } from '../../src/lib import { Ocean } from '../../src/ocean/Ocean' import { ConfigHelper } from '../../src/utils/ConfigHelper' import { TestContractHandler } from '../TestContractHandler' +import { LoggerInstance } from '../../src/utils' const web3 = new Web3('http://127.0.0.1:8545') @@ -65,7 +66,8 @@ describe('Marketplace flow', () => { contracts.factoryAddress, factory.abi as AbiItem[], datatokensTemplate.abi as AbiItem[], - web3 + web3, + LoggerInstance ) tokenAddress = await datatoken.create( blob, diff --git a/test/integration/Simpleflow.test.ts b/test/integration/Simpleflow.test.ts index 6ec1389e..c615bd8c 100644 --- a/test/integration/Simpleflow.test.ts +++ b/test/integration/Simpleflow.test.ts @@ -5,6 +5,7 @@ import { AbiItem } from 'web3-utils/types' import Web3 from 'web3' import factory from '@oceanprotocol/contracts/artifacts/DTFactory.json' import datatokensTemplate from '@oceanprotocol/contracts/artifacts/DataTokenTemplate.json' +import { LoggerInstance } from '../../src/utils' const web3 = new Web3('http://127.0.0.1:8545') describe('Simple flow', () => { @@ -40,7 +41,8 @@ describe('Simple flow', () => { contracts.factoryAddress, factory.abi as AbiItem[], datatokensTemplate.abi as AbiItem[], - web3 + web3, + LoggerInstance ) tokenAddress = await datatoken.create(blob, alice, '10000000000', 'AliceDT', 'DTA') })