测试
使用 Ionic CLI 生成 @ionic/angular
应用时,会自动设置该应用以进行单元测试和端到端测试。这与 Angular CLI 使用的设置相同。有关测试 Angular 应用的详细信息,请参阅 角度测试指南。
¥When an @ionic/angular
application is generated using the Ionic CLI, it is automatically set up for unit testing and end-to-end testing of the application. This is the same setup that is used by the Angular CLI. Refer to the Angular Testing Guide for detailed information on testing Angular applications.