1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

fix lint issues

This commit is contained in:
Miquel A. Cabot 2022-04-28 09:18:28 +02:00
parent 8e1e3ec06b
commit 7bb77d6443

View File

@ -168,7 +168,7 @@ describe('Marketplace flow tests', async () => {
/// ```
it('Initialize accounts', async () => {
/// ```Typescript
/// ```Typescript
const accounts = await web3.eth.getAccounts()
publisherAccount = accounts[0]
consumerAccount = accounts[1]
@ -179,13 +179,13 @@ describe('Marketplace flow tests', async () => {
/// ```
it('Deploy contracts', async () => {
/// ```Typescript
/// ```Typescript
contracts = await deployContracts(web3, publisherAccount)
})
/// ```
it('Publish a dataset (create NFT + ERC20) with a liquidity pool', async () => {
/// ```Typescript
/// ```Typescript
const factory = new NftFactory(contracts.erc721FactoryAddress, web3)
const nftParams: NftCreateData = {
@ -249,7 +249,7 @@ describe('Marketplace flow tests', async () => {
/// ```
it('Set metadata in the NFT', async () => {
/// ```Typescript
/// ```Typescript
const nft = new Nft(web3)
// update ddo and set the right did
@ -282,7 +282,7 @@ describe('Marketplace flow tests', async () => {
/// ```
it('Marketplace displays asset for sale', async () => {
/// ```Typescript
/// ```Typescript
const pool = new Pool(web3)
const prices = await pool.getAmountInExactOut(
poolAddress,
@ -296,7 +296,7 @@ describe('Marketplace flow tests', async () => {
/// ```
it('Consumer buys data asset, and downloads it', async () => {
/// ```Typescript
/// ```Typescript
const datatoken = new Datatoken(web3)
// we send some OCEAN to consumer account