Atom package testing setTimeout used in specs