(title: string)
| 425 | const el = document.createElement('slot-host'); |
| 426 | wrap(document.body).appendChild(el); |
| 427 | const render = (title: string) => { |
| 428 | renderShadowRoot( |
| 429 | html`<slot name="before"> </slot>${title}<slot name="after"></slot>`, |
| 430 | el |
| 431 | ); |
| 432 | }; |
| 433 | render('foo'); |
| 434 | assert.equal(shadowRoot(el)?.textContent, ' foo'); |
| 435 | render('bar'); |
no test coverage detected
searching dependent graphs…