dashboard
repositories
filestore
activity
search
login
程明卫
/
cloud-melody-front
云小调AI智能体前端
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix: 修复状态控制按钮显示逻辑,解决getControlButtonProps返回null时按钮不显示的问题
tony.cheng
2026-03-17
dc655a6c9c08261446d8539cdd56f471733016d5
[~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();
});