Commit 5335626
committed
test: remove unnecessary BlockContext wrapper from BottomBar CurrentTask test
Remove legacy BlockContext.Provider wrapper that is no longer needed.
CurrentTask component was migrated to use cn() helper and no longer uses
BlockContext internally, so the context wrapper in tests is unnecessary.
Changes:
- Removed BlockContext import
- Removed all BlockContext.Provider wrappers around component renders
- Tests still pass - component doesn't consume the context
Completes test cleanup for BEM migration.1 parent 32426ae commit 5335626
File tree
1 file changed
+5
-26
lines changed- web/libs/editor/src/components/BottomBar/__tests__
1 file changed
+5
-26
lines changedLines changed: 5 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 55 | + | |
61 | 56 | | |
62 | 57 | | |
63 | 58 | | |
| |||
71 | 66 | | |
72 | 67 | | |
73 | 68 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 69 | + | |
79 | 70 | | |
80 | 71 | | |
81 | 72 | | |
| |||
89 | 80 | | |
90 | 81 | | |
91 | 82 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 83 | + | |
97 | 84 | | |
98 | 85 | | |
99 | 86 | | |
| |||
107 | 94 | | |
108 | 95 | | |
109 | 96 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 97 | + | |
115 | 98 | | |
116 | 99 | | |
117 | 100 | | |
| |||
125 | 108 | | |
126 | 109 | | |
127 | 110 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 111 | + | |
133 | 112 | | |
134 | 113 | | |
135 | 114 | | |
| |||
0 commit comments