Skip to content

Commit d75c3d3

Browse files
committed
test: await result
1 parent e64d331 commit d75c3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/unit/shared/selection/textCursorPosition/textCursorPositionTestExecutors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const testTextCursorPositionSetAndGet = async <
2121

2222
editor.setTextCursorPosition("target");
2323

24-
expect(editor.getTextCursorPosition()).toMatchFileSnapshot(
24+
await expect(editor.getTextCursorPosition()).toMatchFileSnapshot(
2525
`./__snapshots__/${testCase.name}.json`,
2626
);
2727
};

0 commit comments

Comments
 (0)