mirror of
https://github.com/nasa/openmct.git
synced 2025-05-10 04:22:53 +00:00
[Clocks/Timers] Remove namespacing from specs
WTD-1239
This commit is contained in:
parent
83f135e48c
commit
307047d3ac
@ -59,15 +59,15 @@ 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