fix sample type check error

pull/17335/head
David Roizenman 7 months ago
parent e066915f4e
commit ebbad63cbc
No known key found for this signature in database
GPG Key ID: CD7B405D13E241B6

@ -5,7 +5,7 @@ export default test({
skip_no_async: true,
async test({ assert, target }) {
const [fork_btn, _toggle_btn, inc_count_1_btn] = target.querySelectorAll('button');
const p = target.querySelector('p');
const p = /** @type {HTMLElement} */ (target.querySelector('p'));
assert.equal(p.textContent, '0');

Loading…
Cancel
Save