fix(styles): persist accent cookies on localhost
This commit is contained in:
@@ -58,6 +58,7 @@ describe("theme accents", () => {
|
||||
expect(runtime).toContain('"domain":"localhost"');
|
||||
expect(runtime).toContain("deleteCookie(ACCENT_COOKIE);");
|
||||
expect(runtime).toContain("writeCookie(ACCENT_COOKIE,name,ACCENT_COOKIE_OPTIONS)");
|
||||
expect(runtime).toContain('configuredDomain!=="localhost"');
|
||||
expect(runtime).not.toContain("setInterval(syncSharedAccent");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user