Skip to content

Commit 267c2a6

Browse files
author
issayah
committed
test: fix bad test
1 parent f3e34d1 commit 267c2a6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/bootstrap-vue-3/src/components/BFormInput/BFormInput.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ export default defineComponent({
5959
},
6060
emits: ['update:modelValue', 'change', 'blur', 'input'],
6161
setup(props, {emit}) {
62-
const {input, computedId, computedAriaInvalid, onInput, onChange, onBlur, focus, blur} = useFormInput(props, emit)
63-
62+
const {input, computedId, computedAriaInvalid, onInput, onChange, onBlur, focus, blur} =
63+
useFormInput(props, emit)
64+
6465
const isHighlighted = ref(false)
6566
6667
const computedClasses = computed(() => {

packages/bootstrap-vue-3/src/components/BPlaceholder/placeholder.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('placeholder', () => {
4444
})
4545
expect(wrapper.attributes('style')).toContain('width: 6%;')
4646
await wrapper.setProps({width: undefined})
47-
expect(wrapper.attributes('style')).toBeUndefined()
47+
expect(wrapper.attributes('style')).toBe('')
4848
})
4949

5050
it('has style width: {type}%; when prop width is string', () => {

0 commit comments

Comments
 (0)