Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
fix(controls.test): add tests for position and datum
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Jun 26, 2019
1 parent 7feb0ba commit acc645b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/domain/controls.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ describe("Controls reducer", () => {
'start': 't0',
'end': 'tn',
'showBusy': true,
'position': [0,0]
'position': [0,0],
'datum': null
}

const action = setControls(controls);
Expand Down Expand Up @@ -71,7 +72,8 @@ describe("Controls reducer", () => {
'start': null,
'end': null,
'showBusy': false,
'position': [0,0]
'position': [0,0],
'datum': null //
});

done();
Expand Down

0 comments on commit acc645b

Please sign in to comment.