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

fix(cucumber-runner): allow esm imports (#3805) #3806

Merged

Conversation

thermsdorff
Copy link
Contributor

@thermsdorff thermsdorff commented Jul 12, 2023

@CLAassistant
Copy link

CLAassistant commented Jul 12, 2023

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions
Copy link

github-actions bot commented Jul 13, 2023

Status

  • ✅ Type files updated!

@gravityvi
Copy link
Member

Hey @thermsdorff 👋, Thank you for fixing the issue. Could you add a test? Something like this:

it('Cucumber cli args', function(){

@thermsdorff
Copy link
Contributor Author

Hello @gravityvi !
Tests added and i also add possibility to enable esm through cli arguments.

@gravityvi
Copy link
Member

Thanks @thermsdorff

@AutomatedTester AutomatedTester merged commit 943dcfa into nightwatchjs:main Jul 18, 2023
yashPratp983 pushed a commit to yashPratp983/nightwatch that referenced this pull request Jul 25, 2023
…chjs#3806)

* fix(cucumber-runner): allow esm imports (nightwatchjs#3805)

* fix(cucumber-runner): add cli-arg 'enable-esm'

* test(cucumber-runner): add tests for enable esm options/cli arg
yashPratp983 pushed a commit to yashPratp983/nightwatch that referenced this pull request Jul 25, 2023
…chjs#3806)

* fix(cucumber-runner): allow esm imports (nightwatchjs#3805)

* fix(cucumber-runner): add cli-arg 'enable-esm'

* test(cucumber-runner): add tests for enable esm options/cli arg
yashPratp983 pushed a commit to yashPratp983/nightwatch that referenced this pull request Jul 25, 2023
…chjs#3806)

* fix(cucumber-runner): allow esm imports (nightwatchjs#3805)

* fix(cucumber-runner): add cli-arg 'enable-esm'

* test(cucumber-runner): add tests for enable esm options/cli arg
yashPratp983 pushed a commit to yashPratp983/nightwatch that referenced this pull request Jul 25, 2023
…chjs#3806)

* fix(cucumber-runner): allow esm imports (nightwatchjs#3805)

* fix(cucumber-runner): add cli-arg 'enable-esm'

* test(cucumber-runner): add tests for enable esm options/cli arg
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

Successfully merging this pull request may close these issues.

Nightwatch force importing cucumber files in CJS even if Cucumber is configured to use ESM
4 participants