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

10 lines
182 B
JavaScript
Raw Normal View History

2015-01-05 18:10:42 +02:00
function log(text) {
console.log("[JS TEST SCRIPT] " + text);
}
function sleep(seconds) {
var now = new Date().getTime();
while(new Date().getTime() < now + seconds){}
}