Commit 909143b
committed
refactor(workspace-layout-controller): bind delegation stubs and reduce test duplication
Use controller.method.bind(controller) instead of arrow-function
wrappers for the activity-level delegation stubs, and add a
setupActivity() test helper to collapse the repeated
makeActivity()+setupWorkspaceLayoutController() pairing across the
suite. Also correct a misleading comment (the DOM lookup isn't
cached, it's just done once).
Signed-off-by: Vanshika <pahalvanshikaa@gmail.com>1 parent d6013a0 commit 909143b
2 files changed
Lines changed: 78 additions & 99 deletions
0 commit comments