chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -19,13 +19,13 @@ import { renderHook } from '@testing-library/react';
import { useReportTti } from '../src/index';
// 模拟 custom-perf-metric 模块
// Simulate custom-perf-metric module
vi.mock('../src/utils/custom-perf-metric', () => ({
reportTti: vi.fn(),
REPORT_TTI_DEFAULT_SCENE: 'init',
}));
// 导入被模拟的函数,以便在测试中访问
// Import mocked functions for access in tests
import { reportTti } from '../src/utils/custom-perf-metric';
describe('useReportTti', () => {