Skip to content

Commit

Permalink
enable timeout of 10s for all Select tests
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Jan 21, 2025
1 parent 74b5435 commit 4c890dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/src/components/molecules/Select/Select.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

import { Select } from './Select'

describe('<Select />', () => {
describe('<Select />', { timeout: 10_000 }, () => {
afterEach(cleanup)

it('renders', () => {
Expand Down Expand Up @@ -143,7 +143,7 @@ describe('<Select />', () => {

/** Autocomplete */

it('should filter options if autocomplete is true ', { timeout: 10000 }, async () => {
it('should filter options if autocomplete is true ', async () => {
const mockCallback = vi.fn()
render(
<div>
Expand Down Expand Up @@ -239,9 +239,9 @@ describe('<Select />', () => {
expect(screen.getByText('One')).toBeVisible()
expect(screen.queryByText('Two')).toBeNull()
})
}, { timeout: 10000 })
})

it('should show create options only if it is unique ', { timeout: 10000 }, async () => {
it('should show create options only if it is unique ', async () => {
const mockCallback = vi.fn()
render(
<div>
Expand Down

0 comments on commit 4c890dc

Please sign in to comment.