You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: remove unnecessary BlockContext wrapper from TopBar 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 (no useContext or useBEM calls), 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
This cleanup allows us to potentially remove BlockContext from bem.ts exports.
0 commit comments