Skip to content

Commit

Permalink
Add test for mapToUrlState
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacqary committed Aug 4, 2020
1 parent 0da0ca0 commit ceed5fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function isMetricExplorerTimeOption(subject: any): subject is MetricsExplorerTim
}
}

const mapToUrlState = (value: any): MetricsExplorerUrlState | undefined => {
export const mapToUrlState = (value: any): MetricsExplorerUrlState | undefined => {
const finalState = {};
if (value) {
if (value.options && isMetricExplorerOptions(value.options)) {
Expand Down

0 comments on commit ceed5fe

Please sign in to comment.