We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dcc4a5 commit edcd865Copy full SHA for edcd865
tests/Virtual.spec.tsx
@@ -163,13 +163,14 @@ describe('Table.Virtual', () => {
163
expandable: {
164
expandedRowKeys: ['name0', 'name3'],
165
expandedRowRender: record => record.name,
166
+ expandedRowClassName: 'bamboo',
167
},
168
});
-
169
const expandedCells = container.querySelectorAll('.rc-table-expanded-row-cell');
170
expect(expandedCells).toHaveLength(2);
171
expect(expandedCells[0].textContent).toBe('name0');
172
expect(expandedCells[1].textContent).toBe('name3');
173
+ expect(container.querySelector<HTMLElement>('.rc-table-expanded-row')).toHaveClass('bamboo');
174
175
176
it('fixed', () => {
0 commit comments