Skip to content

[Bug] SyntaxError: Export named 'cancel' not found in module #508

@nsdeschenes

Description

@nsdeschenes

Environment

  • OS: Ubuntu
  • Bun Version: v1.3.11
  • Package: @clack/prompts
  • Package Version: v1.2.0

Describe the bug
My tests do not run successfully as I run into this error: SyntaxError: Export named 'cancel' not found in module.

To Reproduce
I've tried mocking out the module in multiple ways with Bun, you can view them at the following links:

Expected behavior
Tests run successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions