Skip to content

Commit 5312813

Browse files
committed
test fix
1 parent 94f58dc commit 5312813

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/checkbox/checkbox.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ describe('Checkbox', () => {
9595

9696
it('does not set indeterminate property on checkbox by default', () => {
9797
render(<Checkbox {...defaultProps} />);
98-
98+
9999
const checkbox = screen.getByTestId(inputTestId);
100100
expect(checkbox.matches(':indeterminate')).toBe(false);
101101
});
102102

103-
it('does sets checkbox to indeterminate based on isIndeterminate prop', () => {
103+
it('sets indeterminate property on checkbox if isIndeterminate is true', () => {
104104
render(<Checkbox {...defaultProps} isIndeterminate={true} />);
105105

106106
const checkbox = screen.getByTestId(inputTestId);

0 commit comments

Comments
 (0)