plugeth/eth/test/tests/common.js

10 lines
182 B
JavaScript
Raw Normal View History

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