Skip to content

Commit bbabed2

Browse files
committed
Remove updateProps
1 parent 7cf4b79 commit bbabed2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/vue-testing-library.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,6 @@ function render(
8383
// isUnmounted: () => wrapper.vm._isDestroyed,
8484
html: () => wrapper.html(),
8585
emitted: () => wrapper.emitted(),
86-
87-
// TODO: Is this unnecessary now? No need to await for a tick because
88-
// setProps() handles it for us now.
89-
// We can simply expose setProps.
90-
updateProps: _ => {
91-
wrapper.setProps(_)
92-
return waitFor(() => {})
93-
},
9486
setProps: props => wrapper.setProps(props),
9587
...getQueriesForElement(baseElement),
9688
}

0 commit comments

Comments
 (0)