Avoiding whole file import in TypeScript Cucumber Setup #2178
|
Hello, I'm wondering if there is a way to avoid importing the whole file like this in the steps: If I remove the index.ts part, it shows me an error: My
Error when running tests without |
Answered by
davidjgoss
Aug 22, 2024
Replies: 1 comment
|
This is just how ESM works unfortunately, directory imports are not supported. |
0 replies
Answer selected by
amalv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just how ESM works unfortunately, directory imports are not supported.