Skip to content

Commit 4f4f078

Browse files
author
Steven Orvell
committed
Update test to use helper to append/remove elements
1 parent 6c26450 commit 4f4f078

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/lib/updating-element_test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2232,9 +2232,8 @@ suite('UpdatingElement', () => {
22322232
});
22332233
await new Promise((r) => setTimeout(r, 20));
22342234
assert.isFalse(updated);
2235-
document.body.appendChild(a);
2235+
container.appendChild(a);
22362236
await a.updateComplete;
22372237
assert.isTrue(updated);
2238-
document.body.removeChild(a);
22392238
});
22402239
});

0 commit comments

Comments
 (0)