mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
remove some stuff
This commit is contained in:
parent
11bced5fca
commit
2025527f97
@ -52,7 +52,6 @@ export class Provider extends Instantiable {
|
||||
document: JSON.stringify(document),
|
||||
publisherAddress: account.getId()
|
||||
}
|
||||
console.log(args)
|
||||
try {
|
||||
const response = await this.ocean.utils.fetch.post(
|
||||
this.getEncryptEndpoint(),
|
||||
|
@ -2,6 +2,7 @@ import { TestContractHandler } from '../TestContractHandler'
|
||||
import { DataTokens } from '../../src/datatokens/Datatokens'
|
||||
import { Ocean } from '../../src/ocean/Ocean'
|
||||
import config from './config'
|
||||
import { assert } from 'console'
|
||||
|
||||
// import Accounts from "../../src/ocean/Account"
|
||||
|
||||
@ -88,11 +89,12 @@ describe('Marketplace flow', () => {
|
||||
|
||||
it('Alice publishes a dataset', async () => {
|
||||
ddo = await ocean.assets.create(asset, alice, [], tokenAddress)
|
||||
assert(ddo != null)
|
||||
})
|
||||
|
||||
// it('Alice mints 100 tokens', async () => {
|
||||
// await datatoken.mint(tokenAddress, alice.getId(), tokenAmount)
|
||||
// })
|
||||
it('Alice mints 100 tokens', async () => {
|
||||
await datatoken.mint(tokenAddress, alice.getId(), tokenAmount)
|
||||
})
|
||||
|
||||
// it('Marketplace posts asset for sale', async () => {
|
||||
// const config = new Config()
|
||||
|
@ -90,7 +90,6 @@ describe('MetadataStore', () => {
|
||||
it('should query metadata by text', async () => {
|
||||
spy.on(metadataStore.fetch, 'get', () => reponsify(getResults([new DDO()])))
|
||||
const result = await metadataStore.queryMetadataByText(query)
|
||||
console.log(result)
|
||||
|
||||
assert.typeOf(result.results, 'array')
|
||||
assert.lengthOf(result.results, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user