Skip to content

Commit

Permalink
refactor: removed the redundant underfined. (#1056)
Browse files Browse the repository at this point in the history
* removed the redundant underfined.

* fixed linting issue

---------

Co-authored-by: Cody's Dad <[email protected]>
  • Loading branch information
ItshMoh and AceTheCreator authored Oct 16, 2024
1 parent 0ea859f commit d7548c9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions library/src/helpers/__tests__/schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d7548c9

Please sign in to comment.