test: update form input tests to expect bg-surface instead of bg-background
This commit is contained in:
parent
c751a056a9
commit
5c2cc529ef
6 changed files with 23 additions and 5 deletions
|
|
@ -342,7 +342,7 @@ describe('Input', () => {
|
|||
expect(input.className).toContain('font-sans');
|
||||
expect(input.className).toContain('rounded-md');
|
||||
expect(input.className).toContain('border');
|
||||
expect(input.className).toContain('bg-background');
|
||||
expect(input.className).toContain('bg-surface');
|
||||
});
|
||||
|
||||
it('includes transition classes', () => {
|
||||
|
|
|
|||
|
|
@ -436,7 +436,7 @@ describe('Select', () => {
|
|||
it('should include border and background classes', () => {
|
||||
render(<Select options={simpleOptions} />);
|
||||
const select = screen.getByRole('combobox');
|
||||
expect(select).toHaveClass('rounded-md', 'border', 'bg-background');
|
||||
expect(select).toHaveClass('rounded-md', 'border', 'bg-surface');
|
||||
});
|
||||
|
||||
it('should remove native appearance', () => {
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ describe('Textarea', () => {
|
|||
it('always includes background color class', () => {
|
||||
render(<Textarea data-testid="textarea" />);
|
||||
const textarea = screen.getByTestId('textarea');
|
||||
expect(textarea.className).toContain('bg-background');
|
||||
expect(textarea.className).toContain('bg-surface');
|
||||
});
|
||||
|
||||
it('always includes transition classes', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue