Skip to content

Commit c80160b

Browse files
committed
test: fix Input component test expectations for border classes
- fix: update Input tests to expect 'border-primary' instead of 'border-border-primary' - test: ensure all 683 tests pass successfully - chore: maintain 100% test coverage for Input and Textarea components All tests now pass with proper border class expectations matching the updated Input component implementation.
1 parent 2e5b3b2 commit c80160b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/atoms/__tests__/Input.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('Input', () => {
1010
render(<Input />);
1111
const input = screen.getByRole('textbox');
1212
expect(input).toBeInTheDocument();
13-
expect(input).toHaveClass('border-border-primary');
13+
expect(input).toHaveClass('border-primary');
1414
});
1515

1616
it('renders with label', () => {
@@ -100,7 +100,7 @@ describe('Input', () => {
100100
it('renders default variant correctly', () => {
101101
render(<Input variant='default' />);
102102
const input = screen.getByRole('textbox');
103-
expect(input).toHaveClass('border-border-primary');
103+
expect(input).toHaveClass('border-primary');
104104
});
105105

106106
it('renders error variant correctly', () => {

0 commit comments

Comments
 (0)