Open cheikhnadiouf opened 10 months ago
Can we have a rapid basic example of cucumber-js in angular typescript project ?
The ts-node --project for extends of tsconfig.e2e-cucumber.json was not working ( also not working cross-env TS_NODE_PROJECT=... )
I solved this by modifying the tsconfig.json :
{
"compilerOptions": {
// stuff
}
"ts-node": {
"compilerOptions": {
"module": "CommonJS",
"target": "ESNext",
"esModuleInterop": true,
"moduleResolution": "node",
"verbatimModuleSyntax": false
}
},
}
Source: https://github.com/webpack/webpack.js.org/issues/2733
I don't know what happens since one year but it is a HUGE nightmare now to make Cucumber-js and puppeter working on Angular today. Can we have a fresh example of cucumber-js compatible with angular ? try it yourself, you will love all the bugs lol.