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

Compatibility with ES modules #167

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Compatibility with ES modules #167

wants to merge 3 commits into from

Conversation

Gozala
Copy link

@Gozala Gozala commented Jan 15, 2021

I have been authoring some of the new code in ES modules now that nodejs supports those natively. However turns out there is no good story around testing ES modules without transpiling them first.

To overcome this I have forked this library turning it into ES modules and using combination of rollup + export maps to make it usable from commonjs modules as well. In addition I have also:

  • Added typedefs to provide code intellisencse and out of the box support for ts.
  • Added optional message argument to expect which I discovered many of the existing tests written for chai used.

Please let me know if you have any interest in taking these changes, otherwise I'll publish my fork under the different name so I could use it across multiple libraries I'm working on.

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.

1 participant