摩卡和柴支持

时间:2017-04-13 10:38:43

标签: intellij-idea

我想用jasmine将我的JS单元测试从mocha切换到chai,但它让我很恼火想法toUnresolved variable

enter image description here

我还安装了库:

enter image description here

1 个答案:

答案 0 :(得分:3)

安装chai TypeScript存根(npm install @types/chai)后,

chai chainable方法正确解析了我:

enter image description here

相关问题