mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix test for FixedRateExchange
This commit is contained in:
parent
87dd5fcfa1
commit
b01908a7bd
@ -4,7 +4,7 @@ import { TestContractHandler } from '../../TestContractHandler'
|
||||
import { FixedPricedContractHandler } from '../../FixedPriceContractHandler'
|
||||
import { DataTokens } from '../../../src/datatokens/Datatokens'
|
||||
import { OceanFixedRateExchange } from '../../../src/exchange/FixedRateExchange'
|
||||
|
||||
import { Logger } from '../../../src/utils'
|
||||
import Web3 from 'web3'
|
||||
import factory from '@oceanprotocol/contracts/artifacts/DTFactory.json'
|
||||
import datatokensTemplate from '@oceanprotocol/contracts/artifacts/DataTokenTemplate.json'
|
||||
@ -107,7 +107,8 @@ describe('FixedRateExchange flow', () => {
|
||||
web3,
|
||||
FixedRateExchangeAddress,
|
||||
FixedRateExchangeContract.abi as AbiItem[],
|
||||
oceanTokenAddress
|
||||
oceanTokenAddress,
|
||||
new Logger()
|
||||
)
|
||||
assert(FixedRateClass !== null)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user