Commit e0768d7
committed
test(checkpoints): mock useExtensionState in CheckpointSaved spec
CheckpointMenu now depends on ExtensionStateContext for currentTaskId;
the unit test renders it without a provider, so mock the hook.1 parent 70d5988 commit e0768d7
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
0 commit comments