made some suggested changes
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user