Makes control.js testable with various config. changes. Adds coverage for util.js, roles.js, starts on control.js. Updates the entrypoint; untested so far

This commit is contained in:
Ben Menesini
2024-05-19 19:36:02 -07:00
parent e14c6f1685
commit db7338bcf3
11 changed files with 1483 additions and 767 deletions

View File

@@ -1,5 +1,7 @@
{
"presets": ["@babel/preset-env"],
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } }]
],
"plugins": [
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
@@ -10,6 +12,7 @@
"pragma": "h",
"pragmaFrag": "Fragment"
}
]
],
["@babel/plugin-proposal-decorators", { "legacy": false, "decoratorsBeforeExport": true }]
]
}