MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / leaf

Function leaf

packages/app-core/src/lib/buffer-navigation.test.ts:10–12  ·  view source on GitHub ↗
(id: string, tabs: string[], activeTab: string | null = tabs[0] ?? null)

Source from the content-addressed store, hash-verified

8}
9
10function leaf(id: string, tabs: string[], activeTab: string | null = tabs[0] ?? null): PaneLayout {
11 return { kind: 'leaf', id, tabs, pinnedTabs: [], activeTab }
12}
13
14describe('getBufferNavigationTarget', () => {
15 it('moves to the next visible buffer in the active pane', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected