blob: d100f2e7d615c76bb45d32dd2e491fcb89004bb1 [file] [log] [blame] [edit]
import { task2, FakeTaskSchedulerService, fakeNow } from '../rpc-mock';
import './index';
import { TaskSk } from './task-sk';
import '../../../infra-sk/modules/theme-chooser-sk';
// Override the current date to keep puppeteer tests consistent.
Date.now = () => fakeNow;
const ele = <TaskSk>document.querySelector('task-sk')!;
ele.rpc = new FakeTaskSchedulerService();
ele.taskID = task2.id;