tiny library used to stub, fake or spy on default exported functions in Javascript
run promises in chunks