From 1445c5ed6def687774d69bc1fc6777b789e9239f Mon Sep 17 00:00:00 2001 From: Matthew Schile Date: Mon, 2 Dec 2024 09:17:31 -0700 Subject: [PATCH] test: remove duplicate add function --- packages/driver/cypress/e2e/dom/visibility.cy.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/driver/cypress/e2e/dom/visibility.cy.ts b/packages/driver/cypress/e2e/dom/visibility.cy.ts index b27c17ddd294..50f7a86f7708 100644 --- a/packages/driver/cypress/e2e/dom/visibility.cy.ts +++ b/packages/driver/cypress/e2e/dom/visibility.cy.ts @@ -169,10 +169,6 @@ describe('src/cypress/dom/visibility', () => { }) }) - const add = (el) => { - return $(el).appendTo(cy.$$('body')) - } - context('hidden/visible overrides', () => { beforeEach(function () { // ensure all tests run against a scrollable window