mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
await for approving allowance function
This commit is contained in:
parent
3864c07b8b
commit
10f1f30b9c
@ -86,7 +86,13 @@ describe('Publish tests', async () => {
|
|||||||
nft = new Nft(web3)
|
nft = new Nft(web3)
|
||||||
factory = new NftFactory(addresses.ERC721Factory, web3)
|
factory = new NftFactory(addresses.ERC721Factory, web3)
|
||||||
|
|
||||||
approve(web3, publisherAccount, addresses.MockDAI, addresses.ERC721Factory, '100000')
|
await approve(
|
||||||
|
web3,
|
||||||
|
publisherAccount,
|
||||||
|
addresses.MockDAI,
|
||||||
|
addresses.ERC721Factory,
|
||||||
|
'100000'
|
||||||
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should publish a dataset with pool (create NFT + ERC20 + pool) and with Metdata proof', async () => {
|
it('should publish a dataset with pool (create NFT + ERC20 + pool) and with Metdata proof', async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user