Add tests

This commit is contained in:
Reinier Criel 2025-10-22 14:51:44 -07:00
parent 1f707c1e13
commit fbb7e0f95f
10 changed files with 1934 additions and 22 deletions

View file

@ -12,3 +12,15 @@ export function getMalwareAction() {
export const MALWARE_ACTION_BLOCK = "block";
export const MALWARE_ACTION_PROMPT = "prompt";
// Default to JavaScript ecosystem
const ecosystemSettings = {
ecoSystem: "js",
};
export function getEcoSystem() {
return ecosystemSettings.ecoSystem;
}
export function setEcoSystem(setting) {
ecosystemSettings.ecoSystem = setting;
}