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 e2086b0 commit ed2f233Copy full SHA for ed2f233
1 file changed
tests/Select.test.tsx
@@ -262,15 +262,15 @@ describe('Select.Basic', () => {
262
expect(container.querySelector('.rc-select-content-has-search-value')).toBeTruthy();
263
});
264
265
- it('should add -content-value when option has style', () => {
+ it('should add -content-has-option-style when option has style', () => {
266
const { container } = render(
267
<Select defaultValue="1">
268
<Option value="1" style={{ color: 'red' }}>
269
One
270
</Option>
271
</Select>,
272
);
273
- expect(container.querySelector('.rc-select-content-value')).toBeTruthy();
+ expect(container.querySelector('.rc-select-content-has-option-style')).toBeTruthy();
274
275
276
it('should default select the right option', () => {
0 commit comments