Commit 4fbad10
committed
test(mfa): pin the INIT executor to the single test scenario
Recovering the scenario from the step event existed for the era of two
INIT fixtures, which ended when the unobserved payload variant was
dropped. With one fixture the recovery added a type guard, an
impossible throw, and a step-typed executor signature without carrying
any information, so the executor now starts MFA_TEST_SCENARIO_NAME
directly and every executor is a plain thunk.1 parent 5a0988f commit 4fbad10
2 files changed
Lines changed: 8 additions & 25 deletions
File tree
- tests
- unit/components/MultifactorAuthentication/machine/graphTraversal
- utils/mfa
tests/unit/components/MultifactorAuthentication/machine/graphTraversal/viewMatchesMachine.test.tsx
Lines changed: 7 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
53 | 49 | | |
54 | 50 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
58 | 54 | | |
59 | 55 | | |
60 | 56 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 57 | + | |
65 | 58 | | |
66 | | - | |
| 59 | + | |
67 | 60 | | |
68 | 61 | | |
69 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 19 | | |
30 | | - | |
| 20 | + | |
0 commit comments