diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bg/main.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bg/main.js b/src/bg/main.js index 8ddfbfd..7df5b2f 100644 --- a/src/bg/main.js +++ b/src/bg/main.js @@ -232,11 +232,7 @@ Commands.install(); this.devMode = (await browser.management.getSelf()).installType === "development"; - if (this.local.debug) { - if (this.devMode) { - include("/test/run.js"); - } - } else { + if (!this.local.debug) { debug = () => {}; // suppress verbosity } }); @@ -251,6 +247,10 @@ log("STOPPED"); }, + test() { + include("/test/run.js"); + }, + async savePolicy() { if (this.policy) { await Storage.set("sync", { |