按通話https://medium.com/p/b06559b35459/info,摩卡安詳-JS
當我試圖
import `{describe, it} from '@types/mocha'
我看到
Error:-
/node_modules/@types/mocha/index.d.ts' is not a module
按在寧靜-JS項目的例子: - 寧靜-js /示例/ todomvc-量角器-摩卡
serenity: {
dialect: 'mocha',
crew: [
crew.serenityBDDReporter(),
crew.consoleReporter(),
crew.Photographer.who(_ => _
.takesPhotosOf(_.Tasks_and_Interactions)
.takesPhotosWhen(_.Activity_Finishes)
)
]
},
當在master分支protractor.conf.js中添加時,它不會拾取特徵文件。 https://github.com/serenity-js/tutorial-from-scripts-to-serenity.git
請問我該如何在項目中使用摩卡?