()
| 135 | } |
| 136 | |
| 137 | const registerTestComponent = () => { |
| 138 | if (window.customElements.get("test-web-component")) { |
| 139 | return; |
| 140 | } |
| 141 | window.customElements.define("test-web-component", TestWebComponent); |
| 142 | }; |
| 143 | |
| 144 | beforeEach(() => { |
| 145 | registerTestComponent(); |