Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
list.placeAt(document.body);
popup.open({
popup: list,
x: 50,
y: 50
});
try {
list.deliver();
assert(list.offsetWidth > 50, "list.offsetWidth === " + list.offsetWidth);
assert(list.querySelector("d-list-category-renderer").offsetWidth > 0, "d-list-category-renderer");
assert(list.querySelector("d-list-item-renderer").offsetWidth > 0, "d-list-item-renderer");
assert(list.querySelector("d-list-loader[d-shown='true']").offsetWidth > 0, "d-list-loader");
} finally {
popup.close(list);
}
},