From 20c14de571e4827d05024aefe2baf23cbdb1092a Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Thu, 8 Apr 2021 17:33:37 +0200 Subject: [PATCH] [ML] Comment tweaks. --- .../components/scatterplot_matrix/scatterplot_matrix.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx b/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx index c55ba7105d1c..10deaa1c2d48 100644 --- a/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx +++ b/x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.test.tsx @@ -30,7 +30,7 @@ jest.mock('../color_range_legend', () => ({ }), })); -// Mocking VegaChart to avoid a canvas element related error +// Mocking VegaChart to avoid a jest/canvas related error jest.mock('../vega_chart', () => ({ VegaChart: () =>
, })); @@ -80,7 +80,7 @@ describe('Data Frame Analytics: ', () => { }); // should hide the loading indicator and render the wrapping options boilerplate expect(screen.queryByTestId('mlScatterplotMatrix loaded')).toBeInTheDocument(); - // should not render the scatterplot matrix. + // should render the scatterplot matrix. expect(screen.queryByTestId('mlVegaChart')).toBeInTheDocument(); }); });