fixed linting

This commit is contained in:
Kendall Werts
2020-01-14 10:37:47 -06:00
parent 26028cac20
commit a7d3d6d848
7 changed files with 40 additions and 37 deletions
+3 -1
View File
@@ -27,7 +27,9 @@ describe("External Webextensions", () => {
const answer = await promise;
expect(answer.userContextId === "1").to.be.true;
expect(answer.neverAsk === false).to.be.true;
expect(answer.hasOwnProperty("identityMacAddonUUID")).to.be.true;
expect(
Object.prototype.hasOwnProperty.call(
answer, "identityMacAddonUUID")).to.be.true;
});
});
-3
View File
@@ -1,7 +1,6 @@
describe("Sync", () => {
it("should init sync on startup", async () => {
console.log("!!!a")
const tab = await helper.browser.initializeWithTab();
console.log(await background.browser.storage.local.get());
const mozContainer = await background.browser.contextualIdentities.create({
@@ -54,7 +53,6 @@ describe("Sync", () => {
});
}
}));
console.log("!!!c");
await background.browser.runtime.onStartup.addListener.yield();
await nextTick();
@@ -62,7 +60,6 @@ describe("Sync", () => {
console.log(await background.browser.storage.local.get());
expect(sync.identities.length).to.equal(5);
console.log("!!!b");
});
});