Skip to content

Bug: Syntax Error with Jest in ESM #418

@eryue0220

Description

@eryue0220

Describe the bug

When run test through Jest in ESM, it will occur an error like:
image

Steps to reproduce

  1. git clone https://github.com/eryue0220/usearch-jest-esm-bug
  2. cd usearch-jest-esm-bug
  3. pnpm i
  4. pnpm test

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?

  • I am open to being mentioned in the project .git history as a contributor

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions