作者:mobiledu2502903113 | 来源:互联网 | 2023-05-17 17:43
IwanttotestmyangularappwithYeomanwhichuseMochawithPhantomandChaiforassertion.Butw
I want to test my angular app with Yeoman which use Mocha with Phantom and Chai for assertion. But when i run any sample test case the test case do not run properly it shows PhantomJs timed out due to missing Mocha run() call.Non angular Cases are working fine in test case.
我想用Yeoman测试我的角度应用程序,它使用Mocha和Phantom和Chai进行断言。但是,当我运行任何样本测试用例时,测试用例运行不正常,显示PhantomJs由于缺少Mocha run()调用而超时。非角度病例在测试用例中工作正常。
1 个解决方案