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
Fix Stimulus controller class name for SWC compatibility
SWC's keepClassNames option doesn't preserve anonymous class names. Changed from 'export default class extends Controller' to 'export default class CommentsController extends Controller' to ensure the class name is preserved for Stimulus registration. This should fix the failing RSpec tests where Stimulus controllers weren't being properly registered.
0 commit comments