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

Support for ES Modules #256

Open
binarious opened this issue Mar 12, 2023 · 0 comments
Open

Support for ES Modules #256

binarious opened this issue Mar 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@binarious
Copy link

binarious commented Mar 12, 2023

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.

@binarious binarious added the enhancement New feature or request label Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant