()
| 16 | }) |
| 17 | |
| 18 | function render() { |
| 19 | const container = document.createElement('div') |
| 20 | container.innerHTML = ` |
| 21 | <div class="btn" role="button" style="width: 100px; height: 50px;"> |
| 22 | hello |
| 23 | </div> |
| 24 | ` |
| 25 | document.body.appendChild(container) |
| 26 | } |
| 27 | |
| 28 | test('click', async () => { |
| 29 | render() |