dashboard
repositories
filestore
activity
search
login
程明卫
/
cloud-melody-front
云小调AI智能体前端
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
fix: 修复caseState类型比较问题,使用Number()转换确保字符串和数字类型都能正确匹配
tony.cheng
2026-03-17
1ba2f3d3223644d2eb6081d825db76270c44ff12
[~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();
});