NativeScript + Angular WebPack迁移导致测试无法运行

时间:2019-05-17 14:25:05

标签: nativescript angular2-nativescript nativescript-angular

我有一个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命令。

0 个答案:

没有答案