Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgm committed Nov 11, 2022
1 parent 77fb2f7 commit 54a3e8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/Overlay/overlay.test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable testing-library/no-node-access */
import React from 'react';
import { render, screen } from '@testing-library/react';
import { OverlayProvider } from '@react-aria/overlays';
Expand Down Expand Up @@ -141,7 +142,7 @@ test('popover has children', () => {

const popover = screen.getByTestId('overlay');
expect(popover).toBeInTheDocument();
expect(popover.firstChild).toHaveTextContent('something');
expect(popover.firstChild).toBeInTheDocument();
});

// Underlay tests
Expand Down

0 comments on commit 54a3e8a

Please sign in to comment.