Skip to content

Commit 35b4d3a

Browse files
Updated test
1 parent db35ddf commit 35b4d3a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

packages/cursorless-vscode-e2e/src/suite/wrapWithSnippetAcrossSplit.vscode.test.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@ async function runTest() {
2525
await hatTokenMap.allocateHats();
2626

2727
await runCursorlessCommand({
28-
version: 4,
29-
action: { name: "wrapWithSnippet", args: ["spaghetti.foo"] },
30-
targets: [
31-
{
28+
version: 7,
29+
action: {
30+
name: "wrapWithSnippet",
31+
snippetDescription: {
32+
type: "custom",
33+
body: "My friend $foo likes to eat spaghetti!",
34+
variableName: "foo",
35+
},
36+
target: {
3237
type: "primitive",
3338
mark: {
3439
type: "decoratedSymbol",
3540
symbolColor: "default",
3641
character: "h",
3742
},
3843
},
39-
],
44+
},
4045
usePrePhraseSnapshot: false,
4146
});
4247

0 commit comments

Comments
 (0)