Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
angorayc committed Oct 27, 2022
1 parent 8d4346a commit 66d2f47
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ export const metricVisFunction = (): MetricVisExpressionFunctionDefinition => ({
visType,
visConfig: {
metric: {
alignment: handlers?.variables?.metricAlignment as MetricAlignment,
...(handlers?.variables?.metricAlignment
? { alignment: handlers?.variables?.metricAlignment as MetricAlignment }
: {}),
palette: args.palette?.params,
percentageMode: args.percentageMode,
metricColorMode: args.colorMode,
Expand Down

0 comments on commit 66d2f47

Please sign in to comment.