[Test] Update spec to use SOC percentage
This commit is contained in:
@@ -101,7 +101,7 @@ define(
|
|||||||
it("provides a battery graph for timelines with capacity", function () {
|
it("provides a battery graph for timelines with capacity", function () {
|
||||||
var mockCallback = jasmine.createSpy('callback');
|
var mockCallback = jasmine.createSpy('callback');
|
||||||
testModel.capacity = 1000;
|
testModel.capacity = 1000;
|
||||||
testModel.startingSOC = 1000;
|
testModel.startingSOC = 100;
|
||||||
testModel.type = "timeline";
|
testModel.type = "timeline";
|
||||||
mockDomainObject.useCapability.andReturn(asPromise([
|
mockDomainObject.useCapability.andReturn(asPromise([
|
||||||
{ key: "power", start: 0, end: 15 }
|
{ key: "power", start: 0, end: 15 }
|
||||||
|
|||||||
Reference in New Issue
Block a user