cucumber-js-examples icon indicating copy to clipboard operation
cucumber-js-examples copied to clipboard

Cucumber-js and angular

Open cheikhnadiouf opened this issue 1 year ago • 1 comments

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.

cheikhnadiouf avatar Jan 02 '24 19:01 cheikhnadiouf

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

cheikhnadiouf avatar Jan 10 '24 04:01 cheikhnadiouf