blob: a5c1d6935ade084b2dbe4400143c687fc144dd9d [file] [log] [blame] [edit]
/* eslint-disable no-use-before-define */
import './index';
import fetchMock from 'fetch-mock';
import { SetupMocks } from '../rpc-mock';
import { resp } from './test-data';
import { Status, EMail } from '../../../infra-sk/modules/json';
const loginStatus: Status = {
email: 'user@google.com' as EMail,
roles: ['admin'],
};
fetchMock.get('/loginstatus/', loginStatus);
SetupMocks().expectGetBotUsage(resp);
const el = document.createElement('capacity-sk');
document.querySelector('#container')?.appendChild(el);