Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Tencent/kbone
/ element.test.js
File
element.test.js
packages/miniprogram-render/test/node/element.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
mock = require(
'../mock'
)
2
const
Element = require(
'../../src/node/element'
)
3
const
TextNode = require(
'../../src/node/text-node'
)
4
const
Node = require(
'../../src/node/node'
)
Callers
nothing calls this directly
Calls
15
getElementById
Method · 0.80
contains
Method · 0.80
add
Method · 0.80
createElement
Method · 0.80
createTextNode
Method · 0.80
appendChild
Method · 0.80
removeChild
Method · 0.80
hasAttribute
Method · 0.80
insertBefore
Method · 0.80
replaceChild
Method · 0.80
createComment
Method · 0.80
hasAttributeNS
Method · 0.80
Tested by
no test coverage detected