[Open1641] Updated the spec files to check for info messages instead of warning messages
This commit is contained in:
@@ -195,7 +195,8 @@ define(
|
|||||||
expect(mockApp.service).not.toHaveBeenCalled();
|
expect(mockApp.service).not.toHaveBeenCalled();
|
||||||
|
|
||||||
// Should have gotten one warning for each skipped component
|
// 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 () {
|
it("warns about and skips aggregators with zero providers", function () {
|
||||||
@@ -217,7 +218,7 @@ define(
|
|||||||
expect(mockApp.service).not.toHaveBeenCalled();
|
expect(mockApp.service).not.toHaveBeenCalled();
|
||||||
|
|
||||||
// Should have gotten a warning
|
// Should have gotten a warning
|
||||||
expect(mockLog.warn).toHaveBeenCalled();
|
expect(mockLog.info).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("warns about and skips decorators with nothing to decorate", function () {
|
it("warns about and skips decorators with nothing to decorate", function () {
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ define(
|
|||||||
|
|
||||||
telemetry.requestData();
|
telemetry.requestData();
|
||||||
|
|
||||||
expect(mockLog.warn).toHaveBeenCalled();
|
expect(mockLog.info).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("if a new style telemetry source is available, use it", function () {
|
it("if a new style telemetry source is available, use it", function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user