You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,19 +138,19 @@ Same as `tape` `t.only`.
138
138
139
139
The HTMLElement element where your test should work inside.
140
140
141
-
### `await t.appendChild(el, [msg])`
141
+
### `await t.appendChild([parentElOrQuery], el, [msg])`
142
142
143
-
Takes an element, append it and then waits for onload. Asserts when complete with a `msg`.
143
+
Takes an element`el`, append it and then waits for onload. You can also pass a different parent element or query selector `parentElOrQuery` to append to. Asserts when complete with a `msg`.
0 commit comments