Skip to content

Commit

Permalink
Added labels multiple to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxovaiko committed Apr 5, 2024
2 parents 2e5dfa1 + 9dec81c commit e2aa01a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/uniforms/__suites__/SelectField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function testSelectField(
);

skipTestIf(options?.theme === 'antd')(
'<SelectField> - renders a select which correctly reacts on change (uncheck) by value',
'<SelectField> - (multiple) renders a select which correctly reacts on change (uncheck) by value',
() => {
const onChange = jest.fn();
renderWithZod({
Expand All @@ -83,7 +83,7 @@ export function testSelectField(
);

skipTestIf(options?.theme === 'antd')(
'<SelectField> - renders a select which correctly reacts on change (uncheck) by selectedIndex',
'<SelectField> - (multiple) renders a select which correctly reacts on change (uncheck) by selectedIndex',
() => {
const onChange = jest.fn();
renderWithZod({
Expand All @@ -97,7 +97,7 @@ export function testSelectField(
);

skipTestIf(options?.theme === 'antd')(
'<SelectField> - renders a select which correctly reacts on change (checked) by selectedIndex',
'<SelectField> - (multiple) renders a select which correctly reacts on change (checked) by selectedIndex',
() => {
const onChange = jest.fn();
renderWithZod({
Expand Down Expand Up @@ -522,7 +522,7 @@ export function testSelectField(
expect(onChange).toHaveBeenCalledWith('b');
});

test('<SelectField checkboxes> - renders a set of checkboxes which correctly reacts on change (array check)', () => {
test('<SelectField checkboxes> - (multiple) renders a set of checkboxes which correctly reacts on change (array check)', () => {
const onChange = jest.fn();
renderWithZod({
element: (
Expand All @@ -543,7 +543,7 @@ export function testSelectField(
expect(onChange).toHaveBeenCalledWith(['a']);
});

test('<SelectField checkboxes> - renders a set of checkboxes which correctly reacts on change (array uncheck)', () => {
test('<SelectField checkboxes> - (multiple) renders a set of checkboxes which correctly reacts on change (array uncheck)', () => {
const onChange = jest.fn();
renderWithZod({
element: (
Expand Down

0 comments on commit e2aa01a

Please sign in to comment.