Skip to content

Commit

Permalink
Update test assertion for absence of content in container
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav1699 committed Jun 3, 2024
1 parent a8b1748 commit d721931
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ test('returns null if value is not a valid CurrentRangeType', () => {
const { container } = render(
<CurrentCalendarFrame onChange={mockOnChange} value="InvalidValue" />,
);
expect(container.firstChild).toBeEmptyDOMElement();
expect(container.childNodes.length).toBe(0);
});

0 comments on commit d721931

Please sign in to comment.