mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[Build] Update mct-include, mct-representation specs
...to reflect changes in TemplateLinker API allowing templates to be explicitly included.
This commit is contained in:
@ -91,12 +91,12 @@ define(
|
||||
mockScope.key = 'abc';
|
||||
fireWatch('key', mockScope.key);
|
||||
expect(mockChangeTemplate)
|
||||
.toHaveBeenCalledWith(testUrls.abc);
|
||||
.toHaveBeenCalledWith(testTemplates[0]);
|
||||
|
||||
mockScope.key = 'xyz';
|
||||
fireWatch('key', mockScope.key);
|
||||
expect(mockChangeTemplate)
|
||||
.toHaveBeenCalledWith(testUrls.xyz);
|
||||
.toHaveBeenCalledWith(testTemplates[1]);
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user