As per the conversation https://medium.com/p/b06559b35459/info,
When I tried to
import `{describe, it} from '@types/mocha'
I see
Error:-
/node_modules/@types/mocha/index.d.ts' is not a module
As per the example in serenity-js project :- serenity-js/examples/todomvc-protractor-mocha
serenity: {
dialect: 'mocha',
crew: [
crew.serenityBDDReporter(),
crew.consoleReporter(),
crew.Photographer.who(_ => _
.takesPhotosOf(_.Tasks_and_Interactions)
.takesPhotosWhen(_.Activity_Finishes)
)
]
},
When added in the master branch protractor.conf.js, It does not pick up the feature file. https://github.com/serenity-js/tutorial-from-scripts-to-serenity.git
Can you please let know how do i use mocha in the project?