From 697961314c3a5aaf18a97811b1f9190fdafcec75 Mon Sep 17 00:00:00 2001 From: abigailflorence97 Date: Wed, 31 Jul 2024 11:22:51 +0100 Subject: [PATCH] fix lint error --- playwright-e2e/pages/dateChildMoved.page.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/playwright-e2e/pages/dateChildMoved.page.ts b/playwright-e2e/pages/dateChildMoved.page.ts index 7c8ebf876..a6713d424 100644 --- a/playwright-e2e/pages/dateChildMoved.page.ts +++ b/playwright-e2e/pages/dateChildMoved.page.ts @@ -18,7 +18,6 @@ export default class DateChildMoved { } async dateChildMovedInToday(): Promise { - const today = new Date(); const dayMoveIn = String(today.getDate()); const monthMoveIn = String(today.getMonth() + 1); //getMonth() uses zero-based index so + 1 is needed to convert it to correct month for inputting in test