Skip to content

Commit 28d709d

Browse files
committed
fix UT TimeFlowControlSpec.JS。 review by caoxinke.
1 parent 68c0d39 commit 28d709d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/common/control/TimeFlowControlSpec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('TimeFlowControl', function () {
6464
expect(timeflowcontrol.intervalId).toBeGreaterThan(1);
6565
});
6666

67-
xit("start_isEnd", function () {
67+
it("start_isEnd", function () {
6868
var option = {
6969
speed: 1,
7070
frequency: 2000,
@@ -76,7 +76,7 @@ describe('TimeFlowControl', function () {
7676
var timeflowcontrol = new SuperMap.TimeFlowControl(callback, option);
7777
timeflowcontrol.oldTime = timeflowcontrol.endTime;
7878
timeflowcontrol.start();
79-
expect(timeflowcontrol.getRunning()).toBeTruthy();
79+
expect(timeflowcontrol.getRunning()).toBeFalsy();
8080
expect(timeflowcontrol.intervalId).toBeGreaterThan(1);
8181
});
8282

0 commit comments

Comments
 (0)