For click event we can use triggerEventHandler method of Angular DebugElement class. ... we test if it is called or not on button click.
確定! 回上一頁