You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: