Skip to content

Commit

Permalink
Update snapshot to reflect updated logic
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveTryon committed Jun 27, 2023
1 parent e799efd commit 5802d1b
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@
exports[`CollapsibleScriptProvider produces script source that matches snapshot 1`] = `
"(function addEventListenerForCollapsibleSection(doc) {
var _loop = function (index) {
var _container_querySelector, _this;
var _container;
var container = collapsibles.item(index);
var button =
(_this = container) === null || _this === void 0
(_container = container) === null || _container === void 0
? void 0
: (_container_querySelector = _this.querySelector) === null ||
_container_querySelector === void 0
? void 0
: _container_querySelector.call(_this, ".collapsible-control");
: _container.querySelector(".collapsible-control");
if (button == null) {
return "continue";
}
Expand Down

0 comments on commit 5802d1b

Please sign in to comment.