Skip to content

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