go-ethereum/eth/test/tests/common.js

10 lines
182 B
JavaScript

function log(text) {
console.log("[JS TEST SCRIPT] " + text);
}
function sleep(seconds) {
var now = new Date().getTime();
while(new Date().getTime() < now + seconds){}
}