Commit 3db9992
committed
fix(gui): add missing locales state to sprite-selector-item test
fix: resolve undefined locales.isRtl error in sprite-selector-item tests
Add missing locales state to test mock store and fix DeleteConfirmationPrompt mock path.
The component's mapStateToProps was trying to access state.locales.isRtl which was undefined.1 parent 8d6b781 commit 3db9992
File tree
1 file changed
+13
-7
lines changed- packages/scratch-gui/test/unit/containers
1 file changed
+13
-7
lines changedLines changed: 13 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
0 commit comments