mirror of
https://github.com/nasa/openmct.git
synced 2024-12-28 17:08:51 +00:00
c51fd21847
* Initial commit of telemetry table spec * Added example directory to linter paths. Fixed outstanding linting issues
19 lines
441 B
JavaScript
19 lines
441 B
JavaScript
import MCT from 'MCT';
|
|
|
|
export function createOpenMct() {
|
|
const openmct = new MCT();
|
|
openmct.install(openmct.plugins.LocalStorage());
|
|
openmct.install(openmct.plugins.UTCTimeSystem());
|
|
openmct.time.timeSystem('utc', {start: 0, end: 1});
|
|
|
|
return openmct;
|
|
}
|
|
|
|
export function createMouseEvent(eventName) {
|
|
return new MouseEvent(eventName, {
|
|
bubbles: true,
|
|
cancelable: true,
|
|
view: window
|
|
});
|
|
}
|