@oanda/labs-widget-common 1.0.225 → 1.0.227

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": "@oanda/labs-widget-common",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "description": "Labs Widget Common",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -21,5 +21,5 @@
21
21
  "tailwind-merge": "2.2.2",
22
22
  "usehooks-ts": "3.0.2"
23
23
  },
24
- "gitHead": "525a82f19721a0c414b13117ed88021f172bbbd6"
24
+ "gitHead": "f9361b30919526b3d6248b5a4eef570c0759bc19"
25
25
  }
@@ -71,29 +71,5 @@ describe('Table widget component', () => {
71
71
  expect(getAllByTestId('card-header').length).toEqual(2);
72
72
  expect(getAllByTestId('card-row').length).toEqual(10);
73
73
  });
74
-
75
- it('should render error', () => {
76
- const { getAllByTestId } = render(
77
- <MockLayoutProvider>
78
- <Cards
79
- isError
80
- records={records}
81
- renderCard={({ record, idx, isLast }) => (
82
- <CardRecordRow
83
- activeColumns={columns}
84
- index={idx}
85
- isLast={isLast}
86
- isLoading={false}
87
- record={record}
88
- target={null}
89
- tooltipId="toolTipId"
90
- />
91
- )}
92
- />
93
- </MockLayoutProvider>
94
- );
95
- expect(getAllByTestId('card').length).toEqual(1);
96
- expect(getAllByTestId('chart-error').length).toEqual(1);
97
- });
98
74
  });
99
75
  });