forked from testing-library/vue-testing-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 95cc445
authored
fix: allow multiple calling of updateProps (testing-library#170)
* Changed updateProps to return the Promise created from
wrapper.setProps.
* Updated the `updateProps` test to make sure the function can be called
multiple times without producing errors.1 parent dbcf740 commit 95cc445
2 files changed
+4
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 | - | ||
18 | 17 |
| |
19 | 18 |
| |
19 | + | ||
20 | + | ||
21 | + | ||
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
83 | - | ||
84 | - | ||
85 | - | ||
86 | - | ||
83 | + | ||
87 | 84 |
| |
88 | 85 |
| |
89 | 86 |
| |
|
0 commit comments