aboutsummaryrefslogtreecommitdiffstats
path: root/eth/test/tests/common.js
blob: 206ebf145596f78d25c5f529a6be04069f982d51 (plain) (blame)
1
2
3
4
5
6
7
8
9
function log(text) {
  console.log("[JS TEST SCRIPT] " + text);
}

function sleep(seconds) {
    var now = new Date().getTime();
    while(new Date().getTime() < now + seconds){}
}