Commit a9e5ad2
fix(cdk/testing): prevent duplicate subscription (#22460)
If the actual subscription provided by the environment comes
after the first batched function call, the default function is
installed and without this change it'll stay installed forever,
even if another handler is installed afterwards.
(cherry picked from commit 58b4ab6)1 parent 445eb04 commit a9e5ad2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments