Skip to content
New issue

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

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

Already on GitHub? # to your account

[ESM] Fix default.default issue #20

Closed
noomorph opened this issue Dec 7, 2023 · 2 comments · Fixed by #22
Closed

[ESM] Fix default.default issue #20

noomorph opened this issue Dec 7, 2023 · 2 comments · Fixed by #22

Comments

@noomorph
Copy link
Collaborator

noomorph commented Dec 7, 2023

Actual behavior

const { default } = await import('jest-allure2-reporter');
console.log(default); // { default: [class JestAllure2Reporter], ... }

Expected behavior

const { default } = await import('jest-allure2-reporter');
console.log(default); // [class JestAllure2Reporter]

Additional context

Please don't mix default and named exports. 🙏

Copy link
Contributor

🎉 This issue has been resolved in version 2.0.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

github-actions bot commented Nov 6, 2024

🎉 This issue has been resolved in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant