mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 11:33:02 +00:00
11 lines
385 B
TypeScript
11 lines
385 B
TypeScript
import App from '~/App';
|
|
import { renderWithProviders, screen } from '~/test-utils/test-helper';
|
|
|
|
test('should be able to render App', () => {
|
|
renderWithProviders(<App />);
|
|
|
|
// Quick sanity check of known strings.
|
|
expect(screen.getByText(/仅在浏览器内对文件进行解锁/i)).toBeInTheDocument();
|
|
expect(screen.getByText(/UnlockMusic 团队/i)).toBeInTheDocument();
|
|
});
|