我正在使用Grunt为SAPUI5应用程序运行Qunit测试。这是我的Gruntfile.js
module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-qunit");
grunt.initConfig({
qunit: {
all: ["OpaMatchers.html"]
}
});
};当我的(当前的两个)规范通过时,我得到了预期的输出。
.OK
>> 2 assertions passed (11606ms)但是,如果其中一个失败了,我会得到:
>> PhantomJS timed out, possibly due to a missing QUnit start()
Warning: 1/1 assertions failed (0ms) Use --force to continue.发布于 2015-04-15 09:02:30
我确实从另一个来源复制了OPA5规范。因为我错了一组全新的错误,所以上面的错误是无法复制的。
https://stackoverflow.com/questions/29540996
复制相似问题