[Open1641] Updated the spec files to check for info messages instead of warning messages

This commit is contained in:
Luis Schubert
2017-07-10 09:46:51 -07:00
parent 19b5e7c781
commit fb0a577d16
2 changed files with 4 additions and 3 deletions

View File

@@ -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 () {

View File

@@ -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 () {