Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Commit 10db270

Browse files
committed
Fix ValueTypeDropDown test
The ValueTypeDropdown test should not have passed when it was first pushed. It failed in the next PR, though. Adding the event emitter as a fix
1 parent d529a1e commit 10db270

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/components/ValueTypeDropDown.spec.ts

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ describe( 'ValueTypeDropDown.vue', () => {
1313
optionItems: optionItems,
1414
} );
1515

16+
wrapper.findComponent( ValueTypeDropDown ).vm.$emit( 'input', optionItems.Matching );
17+
1618
await Vue.nextTick();
1719

1820
expect( wrapper.emitted( 'input' )![ 0 ][ 0 ] ).toEqual( optionItems.Matching );

0 commit comments

Comments
 (0)