(elementId: string)
| 274 | * @returns Element object with both ELEMENT and W3C identifier keys |
| 275 | */ |
| 276 | export function wrapElement(elementId: string): Element { |
| 277 | return { |
| 278 | ELEMENT: elementId, |
| 279 | [W3C_WEB_ELEMENT_IDENTIFIER]: elementId, |
| 280 | } as Element; |
| 281 | } |
| 282 | |
| 283 | /** |
| 284 | * Returns a copy of the object containing only properties that pass the predicate. |
nothing calls this directly
no outgoing calls
no test coverage detected