我有一个Karma / Jasmine测试的NativeScript应用。
tns info:
✔ Getting NativeScript components versions information...
✔ Component nativescript has 5.4.0 version and is up to date.
✔ Component tns-core-modules has 5.4.0 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.0 version and is up to date.
tns test ios --justlaunch
(并向WebPack迁移提示输入'n')成功运行测试并返回。
(从nsconfig.json中手动删除useLegacyWorkflow。)
tns test ios --justlaunch
(以及向WebPack迁移提示的'Y')迁移到WebPack,但不运行测试或返回。而是启动应用程序,类似于run
命令。