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

Trouble with Jest tests #1

Open
LukasDeco opened this issue Oct 26, 2021 · 1 comment
Open

Trouble with Jest tests #1

LukasDeco opened this issue Oct 26, 2021 · 1 comment

Comments

@LukasDeco
Copy link

Hello! I am having trouble testing with this binding library due to it not using the default export. Here's the issue I have posted on dayjs:
iamkun/dayjs#1669

Can I make a PR for this?

@timerg
Copy link
Owner

timerg commented Nov 13, 2021

Would you provide an example with the compiled results so I can understand your problem more clearly?
Dayjs don't use default when importing, as you can see from the document. I use jest as test framework, too. You may wanna take a look at this folder.

And of course a PR is always welcome :)

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

No branches or pull requests

2 participants