As shown in the code example above, you will see how I usedjasmine.createSpyObj to create a spy for the service to set up your unit tests.
確定! 回上一頁