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

uncomment the sleep function

This commit is contained in:
Ahmed Ali 2020-10-21 10:35:20 +02:00
parent 5047347e21
commit bdd1483668

View File

@ -15,11 +15,11 @@ import OceanSPool from '@oceanprotocol/contracts/artifacts/BPool.json'
import { LoggerInstance } from '../../../src/utils'
const web3 = new Web3('http://127.0.0.1:8545')
// function sleep(ms: number) {
// return new Promise((resolve) => {
// setTimeout(resolve, ms)
// })
// }
function sleep(ms: number) {
return new Promise((resolve) => {
setTimeout(resolve, ms)
})
}
describe('Balancer flow', () => {
let oceanTokenAddress: string