Skip to content

Commit fb9d9d4

Browse files
committed
chore: simplify test
1 parent e62bf0b commit fb9d9d4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

packages/vuetify/src/components/VCombobox/__tests__/VCombobox.spec.browser.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -381,23 +381,18 @@ describe('VCombobox', () => {
381381
}])
382382
})
383383

384-
it('should show placeholder if initial value is empty string', async () => {
384+
it('should show placeholder if initial value is empty string', () => {
385385
const emptyString = ref('')
386386

387387
const { getByPlaceholderText } = render(() => (
388388
<VCombobox
389389
v-model={ emptyString.value }
390390
items={['a', 'b', 'c']}
391-
multiple
392-
itemTitle="text"
393-
itemValue="value"
394-
placeholder="placeholder"
395-
returnObject
391+
placeholder="select something"
396392
/>
397393
))
398394

399-
const inputField = getByPlaceholderText('placeholder')
400-
expect(inputField).toBeDisplayed()
395+
expect(getByPlaceholderText('select something')).toBeDisplayed()
401396
})
402397
})
403398

0 commit comments

Comments
 (0)