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

@@ -22,12 +22,12 @@ describe('compareNodePosition', () => {
let siblingNode: HTMLElement;
beforeEach(() => {
// 在每个测试之前创建新的 DOM 结构
// Create a new DOM structure before each test
parentNode = document.createElement('div');
childNode = document.createElement('span');
siblingNode = document.createElement('p');
parentNode.appendChild(childNode); // childNode parentNode 的子节点
parentNode.appendChild(siblingNode); // siblingNode childNode 的同级节点
parentNode.appendChild(childNode); // childNode is a sub-node of parentNode
parentNode.appendChild(siblingNode); // siblingNode is a sibling of childNode
});
it('should return "before" if nodeA is before nodeB', () => {