mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 04:25:27 +00:00
[Open1641] Updated the spec files to check for info messages instead of warning messages
This commit is contained in:
parent
19b5e7c781
commit
fb0a577d16
@ -195,7 +195,8 @@ define(
|
||||
expect(mockApp.service).not.toHaveBeenCalled();
|
||||
|
||||
// Should have gotten one warning for each skipped component
|
||||
expect(mockLog.warn.calls.length).toEqual(3);
|
||||
expect(mockLog.warn.calls.length).toEqual(2);
|
||||
expect(mockLog.info.calls.length).toEqual(1);
|
||||
});
|
||||
|
||||
it("warns about and skips aggregators with zero providers", function () {
|
||||
@ -217,7 +218,7 @@ define(
|
||||
expect(mockApp.service).not.toHaveBeenCalled();
|
||||
|
||||
// Should have gotten a warning
|
||||
expect(mockLog.warn).toHaveBeenCalled();
|
||||
expect(mockLog.info).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("warns about and skips decorators with nothing to decorate", function () {
|
||||
|
@ -199,7 +199,7 @@ define(
|
||||
|
||||
telemetry.requestData();
|
||||
|
||||
expect(mockLog.warn).toHaveBeenCalled();
|
||||
expect(mockLog.info).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("if a new style telemetry source is available, use it", function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user