Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cucumber-js and angular #18

Open
cheikhnadiouf opened this issue Jan 2, 2024 · 1 comment
Open

Cucumber-js and angular #18

cheikhnadiouf opened this issue Jan 2, 2024 · 1 comment

Comments

@cheikhnadiouf
Copy link

cheikhnadiouf commented Jan 2, 2024

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.

@davidjgoss davidjgoss transferred this issue from cucumber/cucumber-js Jan 2, 2024
@cheikhnadiouf
Copy link
Author

cheikhnadiouf commented Jan 10, 2024

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: webpack/webpack.js.org#2733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant