Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Aug 14, 2019
1 parent 84390a3 commit b82e888
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ describe('SuperChartCore', () => {
});
it('uses preTransformProps when specified', () => {
const chartPropsWithPayload = new ChartProps({
payload: { message: 'hulk' },
queryData: { message: 'hulk' },
});
const wrapper = shallow(
<SuperChartCore
chartType={ChartKeys.DILIGENT}
preTransformProps={() => chartPropsWithPayload}
overrideTransformProps={props => props.payload}
overrideTransformProps={props => props.queryData}
/>,
);

Expand Down

0 comments on commit b82e888

Please sign in to comment.