We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When run test through Jest in ESM, it will occur an error like:
It should pass without babel transform the code.
2.11.1
Mac OSX
Arm
Other bindings
No response
.git
The text was updated successfully, but these errors were encountered:
Currently, A workaround is provide a transform in jest to remove module.exports in source code: https://github.com/eryue0220/usearch-jest-esm-bug/blob/main/jest.config.mjs#L5
module.exports
Sorry, something went wrong.
I am very inexperienced in JS tooling. Any chance you could open a PR if you know how to fix that, @eryue0220?
Sure, I will fix this later.
Fix: esm duplicate import bug in jest (#420)
esm
jest
782fb3d
Closes #418 Closes #426
No branches or pull requests
Describe the bug
When run test through Jest in ESM, it will occur an error like:
![image](https://private-user-images.githubusercontent.com/3050418/332717989-02e9bf2a-5426-45e0-a196-09c564e76df0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NTQxNTksIm5iZiI6MTcxOTc1Mzg1OSwicGF0aCI6Ii8zMDUwNDE4LzMzMjcxNzk4OS0wMmU5YmYyYS01NDI2LTQ1ZTAtYTE5Ni0wOWM1NjRlNzZkZjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYzMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MzBUMTMyNDE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGNmNjhkZDE1NWRiNjk2NGQ1MTBlZTE3MTdkMGE5ODRiZTI4ZTMxY2M1MmEyMzVhNWJlMTMzNmZjMjhmMWE5ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.lJ9FXPkTcHVlZhB4aQtrYeiIYZo3JtozVeZDVb7iUCQ)
Steps to reproduce
Expected behavior
It should pass without babel transform the code.
USearch version
2.11.1
Operating System
Mac OSX
Hardware architecture
Arm
Which interface are you using?
Other bindings
Contact Details
No response
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: