chore: make eslint happy

This commit is contained in:
鲁树人
2023-05-18 00:04:20 +01:00
parent 3298b29dbf
commit 880a3c67fe
3 changed files with 5 additions and 3 deletions

View File

@@ -2,5 +2,5 @@ import { render, screen } from '@testing-library/react';
test('hello', () => {
render(<div>hello</div>);
expect(screen.getByText('hello') as any).toBeInTheDocument();
expect(screen.getByText('hello')).toBeInTheDocument();
});