Resharper jasmine javascript测试:"Inconclusive test run"错误

Art*_*yom 5 resharper phantomjs

这是测试:

myview-model.specs.js:

describe('Total truth', function() {
    it('true', function() {
        expect(true).toBe(true);
    });
});
Run Code Online (Sandbox Code Playgroud)

当我运行ReSharper的9失败与"不确定:测试无法运行"的Total truth是与当phantomjs.exe

Art*_*yom 1

如果有人来到这里,问题不在 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:
Run Code Online (Sandbox Code Playgroud)

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