File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ type DecorationRanges = { [coloredSymbol: string]: SerializedRange };
54
54
55
55
export type TestCaseFixture = {
56
56
command : Command ;
57
+ targets : Target [ ] ;
57
58
languageId : string ;
58
59
decorations : DecorationRanges ;
59
60
initialState : Snapshot ;
@@ -63,6 +64,7 @@ export type TestCaseFixture = {
63
64
export default class TestCase {
64
65
command : Command ;
65
66
languageId : string ;
67
+ targets : Target [ ] ;
66
68
decorations : DecorationRanges ;
67
69
initialState : Snapshot | null = null ;
68
70
finalState : Snapshot | null = null ;
@@ -77,6 +79,7 @@ export default class TestCase {
77
79
this . command = command ;
78
80
this . languageId = activeEditor . document . languageId ;
79
81
this . decorations = this . extractTargetedDecorations ( targets , navigationMap ) ;
82
+ this . targets = targets ;
80
83
}
81
84
82
85
extractPrimitiveTargetKeys ( ...targets : PrimitiveTarget [ ] ) {
@@ -155,6 +158,7 @@ export default class TestCase {
155
158
const fixture : TestCaseFixture = {
156
159
command : this . command ,
157
160
languageId : this . languageId ,
161
+ targets : this . targets ,
158
162
decorations : this . decorations ,
159
163
initialState : this . initialState ,
160
164
finalState : this . finalState ,
You can’t perform that action at this time.
0 commit comments