fix issues
This commit is contained in:
@@ -84,9 +84,9 @@ describe('UserPill', () => {
|
||||
|
||||
const { container } = render(<UserPill />);
|
||||
|
||||
// Component should still render user pill with session user info
|
||||
await waitFor(() => {
|
||||
// component should render nothing in this state
|
||||
expect(container.firstChild).toBeNull();
|
||||
expect(screen.getByText('User')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
expect(mockFindById).not.toHaveBeenCalled();
|
||||
|
||||
Reference in New Issue
Block a user