Skip to content

Commit

Permalink
add tests for manual switch and remove dependency to automatic switch
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Aug 6, 2019
1 parent e520a51 commit 4d632de
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 446 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
const actual = jest.requireActual('../state_helpers');

jest.spyOn(actual, 'changeColumn');
jest.spyOn(actual, 'updateLayerIndexPattern');

export const {
getColumnOrder,
Expand All @@ -15,4 +16,6 @@ export const {
updateColumnParam,
sortByField,
hasField,
updateLayerIndexPattern,
isLayerTransferable,
} = actual;
Loading

0 comments on commit 4d632de

Please sign in to comment.