Commit 561648d3 authored by yann300's avatar yann300

fix tests

parent 6167e45e
...@@ -11,8 +11,9 @@ import { ResultsInterface, TestCbInterface, ResultCbInterface } from '../dist/in ...@@ -11,8 +11,9 @@ import { ResultsInterface, TestCbInterface, ResultCbInterface } from '../dist/in
var provider = new Provider() var provider = new Provider()
function compileAndDeploy(filename: string, callback: Function) { async function compileAndDeploy(filename: string, callback: Function) {
let web3: Web3 = new Web3() let web3: Web3 = new Web3()
await provider.init()
web3.setProvider(provider) web3.setProvider(provider)
let compilationData: object let compilationData: object
let accounts: string[] let accounts: string[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment