Make tests not to run automatically on dev mode startup anymore.
This commit is contained in:
parent
d6465fead9
commit
25fd1727b6
|
@ -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", {
|
||||
|
|
Loading…
Reference in New Issue