Angular's fakeAsync zone is a great tool for unit testing ... for delaying a method call (basically just a wrapper around setTimeout ):
確定! 回上一頁