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

@@ -47,13 +47,13 @@ it('limit rate', async () => {
await vi.advanceTimersByTimeAsync(1000);
expect(request.mock.calls.length).toBe(7);
// 离开窗口
// Leave the window
await vi.advanceTimersByTimeAsync(5000);
limiter.invoke();
limiter.invoke();
limiter.invoke();
expect(request.mock.calls.length).toBe(10);
// 进入限流
// Access to limited viewership of
limiter.invoke();
await vi.advanceTimersByTimeAsync(100);
expect(request.mock.calls.length).toBe(10);