Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Nov 12, 2023
1 parent e3d616e commit dfd4626
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
languageId: typescript
command:
version: 6
spokenForm: change type
action:
name: clearAndSetSelection
target:
type: primitive
modifiers:
- type: containingScope
scopeType: {type: type}
usePrePhraseSnapshot: true
initialState:
documentContents: |-
useState<string>()
useState<Record<string, string>>()
selections:
- anchor: {line: 0, character: 9}
active: {line: 0, character: 9}
- anchor: {line: 1, character: 9}
active: {line: 1, character: 9}
marks: {}
finalState:
documentContents: |-
useState<>()
useState<>()
selections:
- anchor: {line: 0, character: 9}
active: {line: 0, character: 9}
- anchor: {line: 1, character: 9}
active: {line: 1, character: 9}

0 comments on commit dfd4626

Please sign in to comment.