MCPcopy Create free account
hub / github.com/adobe/react-spectrum / getHeadingText

Function getHeadingText

scripts/getCommitsForTesting.mjs:239–244  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

237}
238
239function getHeadingText(node) {
240 return node.children
241 .map(child => child.value || '')
242 .join('')
243 .trim();
244}
245
246function extractTestInstructions(contents) {
247 if (!contents) {

Callers 1

extractTestInstructionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected