gpt4 book ai didi

phantomjs - Resharper Jasmine javascript 测试 : "Inconclusive test run" error

转载 作者:行者123 更新时间:2023-12-04 08:21:09 25 4
gpt4 key购买 nike

这是测试:
myview-model.specs.js :

describe('Total truth', function() {
it('true', function() {
expect(true).toBe(true);
});
});

当我运行 Resharper 9 时,它失败并显示 Total truth 的“不确定:测试未运行”当它与 phantomjs.exe

最佳答案

如果有人来到这里,问题不在 Visual Studio 或 Resharper 中,但 phantomjs 出现错误:

> C:\PhantomJS\bin\phantomjs.exe
Auto configuration failed
11888:error:02001015:system library:fopen:Is a directory:.\crypto\bio\bss_file.c:169:fopen('F:\development\openssl\!BUILD/ssl/openssl.cnf','rb')
11888:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c:174:
11888:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\conf\conf_def.c:199:

因此,在指向正确的 phantomjs 之后,它就可以工作了。

关于phantomjs - Resharper Jasmine javascript 测试 : "Inconclusive test run" error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28633300/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com