QML's JS engine does not support ES module export/import syntax. Replace bare export with a CommonJS guard that only runs under Node.js, so the plugin loads in QML while tests still work. |
||
|---|---|---|
| .. | ||
| lib.test.js | ||
QML's JS engine does not support ES module export/import syntax. Replace bare export with a CommonJS guard that only runs under Node.js, so the plugin loads in QML while tests still work. |
||
|---|---|---|
| .. | ||
| lib.test.js | ||