NativeScript +角度单元测试

问题描述 投票:0回答:1

我是Angular的Native Script新手。通过使用Karma和Jasmine模拟服务,我需要帮助为Angular组件编写单元测试。

我已经按照本机脚本单元测试文档(https://docs.nativescript.org/tooling/testing)来集成单元测试环境,但没有太多可用的详细信息来编写测试。

请建议我如何编写或给出一些NS + ng单元测试的回购链接。谢谢。

nativescript angular2-nativescript nativescript-angular
1个回答
1
投票

来自nativescript-angular repo的示例可能会帮助您编写单元测试用例。

© www.soinside.com 2019 - 2024. All rights reserved.