mirror of
https://github.com/home-assistant/frontend.git
synced 2026-05-04 15:35:07 +01:00
Always store token when using develop and serve (#28179)
This commit is contained in:
@@ -4,9 +4,12 @@ import { FallbackStorage } from "../../../test_helper/local-storage-fallback";
|
||||
|
||||
let saveTokens;
|
||||
|
||||
const HASS_URL = `${location.protocol}//${location.host}`;
|
||||
|
||||
describe("token_storage.saveTokens", () => {
|
||||
beforeEach(() => {
|
||||
window.localStorage = new FallbackStorage();
|
||||
vi.stubGlobal("__HASS_URL__", HASS_URL);
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user