Skip to content

Support for ES Modules #256

@binarious

Description

@binarious

I'd like to use ES Modules in the openHAB Scripting Bridge.

Modern tools like vitest only allow mocking of ES Modules and don't support CommonJS require imports. Therefore it's currently pretty cumbersome to write unit tests with these tools for openHAB scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions