made some suggested changes

This commit is contained in:
Kendall Werts
2020-01-23 10:08:12 -06:00
parent 268c638508
commit 85c403bef5
10 changed files with 42 additions and 41 deletions
+4 -5
View File
@@ -8,7 +8,6 @@ describe("Sync", () => {
color: "red",
icon: "briefcase",
});
await background.browser.contextualIdentities.update("firefox-container-2", {color:"purple"});
await background.browser.contextualIdentities.update("firefox-container-4", {icon:"pet"});
@@ -53,13 +52,13 @@ describe("Sync", () => {
});
}
}));
await background.browser.runtime.onStartup.addListener.yield();
// await background.browser.storage.onChanged.addListener.yield();
await nextTick();
const sync = await background.browser.storage.sync.get();
console.log(await background.browser.storage.local.get());
expect(sync.identities.length).to.equal(5);
console.log("sync", sync);
// expect(sync.length).to.equal(4);
});
});