Unexpected identifier
Taewa opened this issue · 3 comments
Hi all,
I am a bit lost while trying to run the cucumber testing with LitElement, Typescript and @open-wc/testing.
POC repo is here: https://github.com/Taewa/cucumber-ts-lit-element
When I run the test npm run test
, I get a following error.
(function (exports, require, module, __filename, __dirname) { import chai from './import-wrappers/chai.js';
^^^^
SyntaxError: Unexpected identifier
If I understand correctly, it's the node that doesn't understand import and probably Babel can help me.
But I am not sure how I can add Babel with cucumber-js-tsflow. (Or maybe I don't need cucumber-js-tsflow?)
Is there somewhere I can configure?
"cucumber": "6.0.5",
"cucumber-tsflow": "3.4.0",
Thanks.
Hey @Taewa, Cucumber 6 is no longer supported, can you reproduce this problem with the latest release and either Cucumber 7 or 8?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
There hasn't been any activity on this issue for 67 days. Closing it as Spoiled.