()
| 1 | import "./index.css"; |
| 2 | |
| 3 | const findOurLink = () => |
| 4 | [...window.document.getElementsByTagName("link")].find( |
| 5 | (item) => |
| 6 | item.rel === "stylesheet" && |
| 7 | item.href && |
| 8 | item.href.includes("bundle.css") |
| 9 | ); |
| 10 | |
| 11 | it("should run linkInsert source on HMR and reuse the existing link's parent", (done) => { |
| 12 | const initial = findOurLink(); |
no test coverage detected