We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04cd664 commit 9adcf3cCopy full SHA for 9adcf3c
src/main/shared/setOfMarks.test.ts
@@ -2,10 +2,11 @@
2
* Copyright (c) 2025 Bytedance, Inc. and its affiliates.
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
+import { test, expect } from 'vitest';
6
import { setOfMarksOverlays } from './setOfMarks';
7
// import { sleep } from '@ui-tars/shared/utils';
8
-const testMakeScreenMarker = async () => {
9
+const testMakeScreenMarker = () => {
10
let xPos;
11
let yPos;
12
const actions = [
@@ -124,4 +125,6 @@ const testMakeScreenMarker = async () => {
124
125
}
126
};
127
-testMakeScreenMarker();
128
+test('not throw error', () => {
129
+ expect(() => testMakeScreenMarker()).not.toThrow();
130
+});
0 commit comments