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,10 +19,10 @@ import { globalVars } from '../src/global-var';
describe('global-var', () => {
test('should be able to set and get a property', () => {
const testValue = 'Hello, World';
// 设置一个属性
// Set a property
globalVars.TEST_PROP = testValue;
// 确保我们能获取到相同的属性
// Make sure we can get the same properties
expect(globalVars.TEST_PROP).toBe(testValue);
});
@@ -34,11 +34,11 @@ describe('global-var', () => {
const firstValue = 'First Value';
const secondValue = 'Second Value';
// 先设置一个属性
// Set a property first
globalVars.OVERWRITE_PROP = firstValue;
expect(globalVars.OVERWRITE_PROP).toBe(firstValue);
// 再覆盖这个属性
// Override this property again
globalVars.OVERWRITE_PROP = secondValue;
expect(globalVars.OVERWRITE_PROP).toBe(secondValue);
});