go-ethereum/eth/test/tests/common.js
2015-01-05 17:10:42 +01:00

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){}
}