Make tests not to run automatically on dev mode startup anymore.

This commit is contained in:
hackademix 2019-10-31 23:51:50 +01:00
parent d6465fead9
commit 25fd1727b6
1 changed files with 5 additions and 5 deletions

View File

@ -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", {