(string: string)
| 520 | * @returns |
| 521 | */ |
| 522 | export const stringToFragment = (string: string) => { |
| 523 | const wrapper = document.createElement("template"); |
| 524 | wrapper.innerHTML = string; |
| 525 | return wrapper.content; |
| 526 | }; |
| 527 | |
| 528 | /** |
| 529 | * https://stackoverflow.com/questions/39538473/using-settimeout-on-promise-chain |
no outgoing calls
no test coverage detected