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
如果有人来到这里,问题不在 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 之后它就可以工作了。
| 归档时间: |
|
| 查看次数: |
2296 次 |
| 最近记录: |