Add GrantableToken tests

This commit is contained in:
Jorge Izquierdo
2017-02-09 13:23:12 +01:00
parent fb0a96332c
commit 8d9e12eda3
6 changed files with 119 additions and 94 deletions

5
test/helpers/timer.js Normal file
View File

@ -0,0 +1,5 @@
module.exports = s => {
return new Promise(resolve => {
setTimeout(() => resolve(), s * 1000 + 600) // 600ms breathing room for testrpc to sync
})
}