Commit 5b44ed5
committed
test(webview): pin the other half of the setState fixture's dependency
The previous commit asserted the doc-identity premise but left its twin in
prose: this fixture kills the dispatch-interception mutant only because
setState does not dispatch. If that ever changed, the state would still be
replaced, the test would still pass, and the mutant would quietly survive —
the same silent revival the doc premise had, in the other direction.
A dispatch counter around the call pins it. Measured: making the fixture
dispatch before setState reds the test, and the doc-comparison mutant still
reds it too, so neither pin displaced the other.1 parent 7ac2ac8 commit 5b44ed5
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
353 | 363 | | |
| 364 | + | |
354 | 365 | | |
355 | 366 | | |
356 | 367 | | |
| |||
0 commit comments