mirror of
https://github.com/nasa/openmct.git
synced 2025-05-09 20:12:50 +00:00
[Clocks/Timers] Remove namespacing from specs
WTD-1239
This commit is contained in:
parent
83f135e48c
commit
307047d3ac
@ -59,18 +59,18 @@ define(
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("applies only to timers without a target time", function () {
|
it("applies only to timers without a target time", function () {
|
||||||
testModel.type = 'warp.timer';
|
testModel.type = 'timer';
|
||||||
testModel.timestamp = 12000;
|
testModel.timestamp = 12000;
|
||||||
expect(StartTimerAction.appliesTo(testContext)).toBeFalsy();
|
expect(StartTimerAction.appliesTo(testContext)).toBeFalsy();
|
||||||
|
|
||||||
testModel.type = 'warp.timer';
|
testModel.type = 'timer';
|
||||||
testModel.timestamp = undefined;
|
testModel.timestamp = undefined;
|
||||||
expect(StartTimerAction.appliesTo(testContext)).toBeTruthy();
|
expect(StartTimerAction.appliesTo(testContext)).toBeTruthy();
|
||||||
|
|
||||||
testModel.type = 'warp.clock';
|
testModel.type = 'clock';
|
||||||
testModel.timestamp = 12000;
|
testModel.timestamp = 12000;
|
||||||
expect(StartTimerAction.appliesTo(testContext)).toBeFalsy();
|
expect(StartTimerAction.appliesTo(testContext)).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user