From d7548c9abfc441935f2789ad9f9b3f5c99ac84e8 Mon Sep 17 00:00:00 2001 From: Mohan Kumar <121867882+ItshMoh@users.noreply.github.com> Date: Wed, 16 Oct 2024 15:39:09 +0530 Subject: [PATCH] refactor: removed the redundant underfined. (#1056) * removed the redundant underfined. * fixed linting issue --------- Co-authored-by: Cody's Dad <40604284+AceTheCreator@users.noreply.github.com> --- library/src/helpers/__tests__/schema.test.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/library/src/helpers/__tests__/schema.test.ts b/library/src/helpers/__tests__/schema.test.ts index d6c7acd24..637674997 100644 --- a/library/src/helpers/__tests__/schema.test.ts +++ b/library/src/helpers/__tests__/schema.test.ts @@ -896,12 +896,7 @@ describe('SchemaHelpers', () => { test('should not render title because title is undefined', () => { expect( - SchemaHelpers.applicatorSchemaName( - 0, - FIRST_CASE, - OTHER_CASES, - undefined, - ), + SchemaHelpers.applicatorSchemaName(0, FIRST_CASE, OTHER_CASES), ).toMatchSnapshot(); expect(