blob: cf36776caf07d4074ed5245a025bd3d29b5c5cb8 [file] [log] [blame]
import 'elements-sk/error-toast-sk';
import fetchMock from 'fetch-mock';
import '../../../infra-sk/modules/login-sk';
import { ARBStatusSk } from './arb-status-sk';
import { SetupMocks, GetFakeStatus } from '../rpc-mock';
fetchMock.get("/loginstatus/", {
"Email":"user@google.com",
"LoginURL":"https://accounts.google.com/",
"IsAGoogler":true,
});
SetupMocks();
import './index.ts';
// Get the name of the fake roller from the demo data.
const ele = <ARBStatusSk>document.getElementsByTagName("arb-status-sk")[0];
ele.roller = GetFakeStatus().config?.rollerId || "";