-
I have a Node.js project and I write scenarios using cucumber.js. But they are extremely slow when I run them. Can I use swc to run my scenarios? |
Beta Was this translation helpful? Give feedback.
Answered by
kdy1
Nov 9, 2023
Replies: 1 comment 1 reply
-
Correct me if i am wrong, I am expecting swc to be a drop in replacement to ts-node loader. Unfortunately With ts-node (working): node --loader ts-node/esm ./node_modules/@cucumber/cucumber/bin/cucumber.js With swc(not working 😭 ) node --loader @swc-node/register/esm ./node_modules/@cucumber/cucumber/bin/cucumber.js Would be glad if someone can show us the right way. Thanks! 🙏 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#7435