Skip to content

Commit 02a641f

Browse files
committed
Try adding decorations each time
1 parent a1dc5b1 commit 02a641f

File tree

3 files changed

+4
-227
lines changed

3 files changed

+4
-227
lines changed

images/hat.svg

Lines changed: 1 addition & 0 deletions
Loading

package.json

Lines changed: 0 additions & 224 deletions
This file was deleted.

src/test/suite/recorded.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ suite("recorded test cases", async function () {
105105
excludeFields.push("clipboard");
106106
}
107107

108-
// Wait for cursorless to set up decorations
109-
cursorlessApi.addDecorations();
110-
111108
// Assert that recorded decorations are present
112109
const assertDecorations = () => {
110+
// Wait for cursorless to set up decorations
111+
cursorlessApi.addDecorations();
112+
113113
Object.entries(fixture.marks).forEach(([key, token]) => {
114114
const { color, character } = NavigationMap.splitKey(key);
115115
const currentToken = cursorlessApi.navigationMap.getToken(

0 commit comments

Comments
 (0)