mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Time Conductor] Update TimeConductor spec
...to reflect that whole domain metadata, not just key, is exposed.
This commit is contained in:
parent
5ff2e6b652
commit
ce5a650d8c
@ -59,12 +59,12 @@ define(
|
||||
});
|
||||
|
||||
it("exposes the current domain choice", function () {
|
||||
expect(conductor.domain()).toEqual(testDomains[0].key);
|
||||
expect(conductor.domain()).toEqual(testDomains[0]);
|
||||
});
|
||||
|
||||
it("allows the domain choice to be changed", function () {
|
||||
conductor.domain(testDomains[1].key);
|
||||
expect(conductor.domain()).toEqual(testDomains[1].key);
|
||||
expect(conductor.domain()).toEqual(testDomains[1]);
|
||||
});
|
||||
|
||||
it("throws an error on attempts to set an invalid domain", function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user