Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gbacc committed Oct 11, 2024
1 parent 61497b7 commit fa43a97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('defaultTitle', () => {
// given not used in an array you have the schema.title
expect(defaultTitle({}, { title: 'Comment' })).toBe('Comment');
// given no value, you have the schema.title
expect(defaultTitle({}, schema)).toBe(schema.title);
expect(defaultTitle({}, schema)).toBe('Comment');
});

it('should return if emptyTitleFallback has been provided and computed title is empty', () => {
Expand Down

0 comments on commit fa43a97

Please sign in to comment.