mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 09:52:04 +00:00
removing openmct from tests as it is not required
This commit is contained in:
parent
cdf9c50b8a
commit
ac082e9f58
@ -21,17 +21,12 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import ISOTimeFormat from './ISOTimeFormat.js';
|
import ISOTimeFormat from './ISOTimeFormat.js';
|
||||||
import {
|
|
||||||
createOpenMct,
|
|
||||||
resetApplicationState
|
|
||||||
} from 'utils/testing';
|
|
||||||
|
|
||||||
describe("the plugin", () => {
|
describe("the plugin", () => {
|
||||||
const ISO_KEY = 'iso';
|
const ISO_KEY = 'iso';
|
||||||
const JUNK = "junk";
|
const JUNK = "junk";
|
||||||
const MOON_LANDING_TIMESTAMP = -14256000000;
|
const MOON_LANDING_TIMESTAMP = -14256000000;
|
||||||
const MOON_LANDING_DATESTRING = '1969-07-20T00:00:00.000Z';
|
const MOON_LANDING_DATESTRING = '1969-07-20T00:00:00.000Z';
|
||||||
let openmct;
|
|
||||||
let isoFormatter;
|
let isoFormatter;
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
@ -39,16 +34,7 @@ describe("the plugin", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
beforeEach((done) => {
|
beforeEach((done) => {
|
||||||
openmct = createOpenMct();
|
|
||||||
|
|
||||||
isoFormatter = new ISOTimeFormat();
|
isoFormatter = new ISOTimeFormat();
|
||||||
|
|
||||||
openmct.on('start', done);
|
|
||||||
openmct.startHeadless();
|
|
||||||
});
|
|
||||||
|
|
||||||
afterEach(() => {
|
|
||||||
resetApplicationState(openmct);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("creates a new ISO based formatter", function () {
|
describe("creates a new ISO based formatter", function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user