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

Function el

packages/app-core/src/lib/vim-nav.test.ts:21–25  ·  view source on GitHub ↗
(html: string)

Source from the content-addressed store, hash-verified

19} from './vim-nav'
20
21function el(html: string): HTMLElement {
22 const container = document.createElement('div')
23 container.innerHTML = html.trim()
24 return container.firstElementChild as HTMLElement
25}
26
27describe('hintTargetOpensNote (#100 — hint into a note lands in the editor)', () => {
28 it('is true for a sidebar note row', () => {

Callers 2

vim-nav.test.tsFile · 0.85
homeTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected