mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
put timeout back and test order,mut be ipfs side temporary
This commit is contained in:
parent
fb50bee380
commit
557289e5f2
@ -211,20 +211,6 @@ describe('Publish consume test', async () => {
|
|||||||
assert(urlAssetId, 'Failed to publish url DDO')
|
assert(urlAssetId, 'Failed to publish url DDO')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should publish arwave asset', async () => {
|
|
||||||
arweaveAssetId = await createAsset(
|
|
||||||
'ArweaveDatatoken',
|
|
||||||
'ARWEAVEDT',
|
|
||||||
publisherAccount,
|
|
||||||
arweaveFile,
|
|
||||||
assetDdo,
|
|
||||||
providerUrl,
|
|
||||||
addresses.ERC721Factory,
|
|
||||||
aquarius
|
|
||||||
)
|
|
||||||
assert(arweaveAssetId, 'Failed to publish ipfs DDO')
|
|
||||||
})
|
|
||||||
|
|
||||||
it('Should publish ipfs asset', async () => {
|
it('Should publish ipfs asset', async () => {
|
||||||
ipfsAssetId = await createAsset(
|
ipfsAssetId = await createAsset(
|
||||||
'IpfsDatatoken',
|
'IpfsDatatoken',
|
||||||
@ -239,6 +225,20 @@ describe('Publish consume test', async () => {
|
|||||||
assert(ipfsAssetId, 'Failed to publish ipfs DDO')
|
assert(ipfsAssetId, 'Failed to publish ipfs DDO')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('Should publish arwave asset', async () => {
|
||||||
|
arweaveAssetId = await createAsset(
|
||||||
|
'ArweaveDatatoken',
|
||||||
|
'ARWEAVEDT',
|
||||||
|
publisherAccount,
|
||||||
|
arweaveFile,
|
||||||
|
assetDdo,
|
||||||
|
providerUrl,
|
||||||
|
addresses.ERC721Factory,
|
||||||
|
aquarius
|
||||||
|
)
|
||||||
|
assert(arweaveAssetId, 'Failed to publish ipfs DDO')
|
||||||
|
})
|
||||||
|
|
||||||
it('Should publish onchain asset', async () => {
|
it('Should publish onchain asset', async () => {
|
||||||
const chainFile: Smartcontract = {
|
const chainFile: Smartcontract = {
|
||||||
type: 'smartcontract',
|
type: 'smartcontract',
|
||||||
@ -380,7 +380,7 @@ describe('Publish consume test', async () => {
|
|||||||
providerUrl
|
providerUrl
|
||||||
)
|
)
|
||||||
assert(ipfsOrderTx, 'Ordering ipfs dataset failed.')
|
assert(ipfsOrderTx, 'Ordering ipfs dataset failed.')
|
||||||
}).timeout(60000)
|
}).timeout(40000)
|
||||||
|
|
||||||
it('Should order onchain dataset', async () => {
|
it('Should order onchain dataset', async () => {
|
||||||
onchainOrderTx = await orderAsset(
|
onchainOrderTx = await orderAsset(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user