I found this article while searching for the solution: http://www.syntaxsuccess.com/viewarticle/unit-testing-eventemitter-in-angular-2.0 and it worked well ...
確定! 回上一頁