From 5802d1b9bf4c14eb8f6cbc1a67ab608ffbde5edc Mon Sep 17 00:00:00 2001 From: Dave Tryon <45672944+DaveTryon@users.noreply.github.com> Date: Tue, 27 Jun 2023 09:42:21 -0700 Subject: [PATCH] Update snapshot to reflect updated logic --- .../collapsible-script-provider.test.ts.snap | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/tests/unit/tests/reports/components/report-sections/__snapshots__/collapsible-script-provider.test.ts.snap b/src/tests/unit/tests/reports/components/report-sections/__snapshots__/collapsible-script-provider.test.ts.snap index 26a9bee3d96..21bfe313172 100644 --- a/src/tests/unit/tests/reports/components/report-sections/__snapshots__/collapsible-script-provider.test.ts.snap +++ b/src/tests/unit/tests/reports/components/report-sections/__snapshots__/collapsible-script-provider.test.ts.snap @@ -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"; }