dashboard
repositories
filestore
activity
search
login
程明卫
/
cloud-melody-front
云小调AI智能体前端
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix: 修复API加载失败时未使用mock数据降级导致按钮不显示的问题
tony.cheng
2026-03-17
e8341da1769be538eaec6a9d4bf29491b1301d66
[~chengmw/cloud-melody-front.git]
/
web-app
/
src
/
App.test.js
1
2
3
4
5
6
7
8
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});