blob: f019cc0bc97d161d47edbc467177bb94b64f72ee [file] [log] [blame]
import './index';
import { $$ } from 'common-sk/modules/dom';
import { blamelist19, fakeNow } from './demo_data';
import { testOnlySetSettings } from '../settings';
Date.now = () => fakeNow;
testOnlySetSettings({
baseRepoURL: 'https://github.com/example/example',
});
let ele = document.createElement('blamelist-panel-sk');
ele.commits = blamelist19.slice(0, 1);
$$('#single_commit').appendChild(ele);
ele = document.createElement('blamelist-panel-sk');
ele.commits = blamelist19.slice(0, 3);
$$('#some_commits').appendChild(ele);
ele = document.createElement('blamelist-panel-sk');
ele.commits = blamelist19;
$$('#many_commits').appendChild(ele);