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 26a9bee3d9..21bfe31317 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"; }