通常專案會使用Angular cli 去產生component、service、module…等,Angular cli 會順便產生測試的檔案( xxxx.spec.ts ),只要下 ng test 指令就可以執行。
確定! 回上一頁