Skip to content

Commit

Permalink
fix jest test
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Jan 25, 2024
1 parent 05a6f39 commit 4d18755
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ describe('TimeseriesChart', () => {

const wrapper = mountWithIntl(<TimeseriesChart {...props} />);

expect(wrapper.html()).toBe(`<div class="ml-timeseries-chart-react"></div>`);
expect(wrapper.html()).toBe(
'<div style="position: absolute; margin-left: 0px; margin-top: 0px; display: none;"><div class="euiPopover css-n7tnex-euiPopover-inline-block"></div></div><div class="ml-timeseries-chart-react"></div>'
);
});
});

0 comments on commit 4d18755

Please sign in to comment.