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

try swap tests order , debug

This commit is contained in:
paulo-ocean 2024-06-28 12:16:12 +01:00
parent 974f3aa64e
commit fb50bee380

View File

@ -211,20 +211,6 @@ describe('Publish consume test', async () => {
assert(urlAssetId, 'Failed to publish url DDO')
})
it('Should publish ipfs asset', async () => {
ipfsAssetId = await createAsset(
'IpfsDatatoken',
'IPFSDT',
publisherAccount,
ifpsFile,
assetDdo,
providerUrl,
addresses.ERC721Factory,
aquarius
)
assert(ipfsAssetId, 'Failed to publish ipfs DDO')
})
it('Should publish arwave asset', async () => {
arweaveAssetId = await createAsset(
'ArweaveDatatoken',
@ -239,6 +225,20 @@ describe('Publish consume test', async () => {
assert(arweaveAssetId, 'Failed to publish ipfs DDO')
})
it('Should publish ipfs asset', async () => {
ipfsAssetId = await createAsset(
'IpfsDatatoken',
'IPFSDT',
publisherAccount,
ifpsFile,
assetDdo,
providerUrl,
addresses.ERC721Factory,
aquarius
)
assert(ipfsAssetId, 'Failed to publish ipfs DDO')
})
it('Should publish onchain asset', async () => {
const chainFile: Smartcontract = {
type: 'smartcontract',