Commit ea05a97
Sharma Elanthiriayan
SimplePaymentsSummaryViewModelTests fix
- Mock `getSimplePaymentsTaxesToggleState` to ensure that toggle state is fixed inside the test.
- Expect `simplePaymentsFlowTaxesToggled` event in received events as view model loads the toggle state during initialization.test_noteAdded_event_is_tracked_after_editing_note test1 parent 2da8a4e commit ea05a97
File tree
1 file changed
+17
-1
lines changed- WooCommerce/WooCommerceTests/ViewRelated/Orders/Simple Payments
1 file changed
+17
-1
lines changedLines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
237 | 249 | | |
| 250 | + | |
238 | 251 | | |
239 | 252 | | |
240 | 253 | | |
241 | 254 | | |
242 | 255 | | |
243 | 256 | | |
244 | 257 | | |
245 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
246 | 262 | | |
247 | 263 | | |
248 | 264 | | |
| |||
0 commit comments