Skip to content

Commit a9fe708

Browse files
committed
Return promise rather than await
1 parent 6cf41ff commit a9fe708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vue-testing-library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ fireEvent.update = async (elem, value) => {
135135

136136
case 'SELECT':
137137
elem.value = value
138-
await fireEvent.change(elem)
138+
return fireEvent.change(elem)
139139
}
140140
}
141141

0 commit comments

Comments
 (0)