@openshift-migration-advisor/shared-components 0.29.0-24760762468f → 0.29.0-623497c15eae

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openshift-migration-advisor/shared-components",
3
- "version": "0.29.0-24760762468f",
3
+ "version": "0.29.0-623497c15eae",
4
4
  "description": "Shared React UI components for Migration Advisor apps (report charts, forms, OS support tiers)",
5
5
  "author": "Montse Ortega <mortegag@redhat.com>",
6
6
  "license": "Apache-2.0",
@@ -189,19 +189,19 @@ describe("ClustersOverview", () => {
189
189
 
190
190
  expect(screen.queryByTestId("clusters-donut")).not.toBeInTheDocument();
191
191
  expect(screen.getByText("8")).toHaveStyle({
192
- background: chart_color_blue_300.value,
192
+ backgroundColor: chart_color_blue_300.value,
193
193
  });
194
194
  expect(screen.getByText("4.25")).toHaveStyle({
195
- background: chart_color_purple_300.value,
195
+ backgroundColor: chart_color_purple_300.value,
196
196
  });
197
197
  expect(screen.getByText("3.5")).toHaveStyle({
198
- background: chart_color_purple_100.value,
198
+ backgroundColor: chart_color_purple_100.value,
199
199
  });
200
200
  expect(screen.getByText("2")).toHaveStyle({
201
- background: chart_color_teal_200.value,
201
+ backgroundColor: chart_color_teal_200.value,
202
202
  });
203
203
  expect(screen.getByText("1")).toHaveStyle({
204
- background: chart_color_yellow_400.value,
204
+ backgroundColor: chart_color_yellow_400.value,
205
205
  });
206
206
  expect(screen.queryByText("0.5")).not.toBeInTheDocument();
207
207
  expect(screen.getByText("Cluster 1 (8)")).toBeInTheDocument();