@@ -34,7 +34,7 @@ test.describe('reducer function', () => {
34
34
const result = reducer ( prevState , action ) ;
35
35
deepEqual ( result , {
36
36
...defaultState ,
37
- lastAction : 'reset' ,
37
+ lastAction : null ,
38
38
} ) ;
39
39
} ) ;
40
40
@@ -51,7 +51,7 @@ test.describe('reducer function', () => {
51
51
focusedIndex : 2 ,
52
52
lastShiftRange : { start : null , end : null } ,
53
53
selected : new Set ( [ 2 ] ) ,
54
- lastAction : 'move-selection' ,
54
+ lastAction : null ,
55
55
} ) ;
56
56
} ) ;
57
57
@@ -68,7 +68,7 @@ test.describe('reducer function', () => {
68
68
focusedIndex : 4 ,
69
69
lastShiftRange : { start : null , end : null } ,
70
70
selected : new Set ( [ 4 ] ) ,
71
- lastAction : 'move-selection' ,
71
+ lastAction : null ,
72
72
} ) ;
73
73
} ) ;
74
74
@@ -82,7 +82,7 @@ test.describe('reducer function', () => {
82
82
focusedIndex : 2 ,
83
83
lastShiftRange : { start : null , end : null } ,
84
84
selected : new Set ( [ 2 ] ) ,
85
- lastAction : 'select-index' ,
85
+ lastAction : null ,
86
86
} ) ;
87
87
} ) ;
88
88
@@ -96,7 +96,7 @@ test.describe('reducer function', () => {
96
96
focusedIndex : 2 ,
97
97
lastShiftRange : { start : null , end : null } ,
98
98
selected : new Set ( [ 1 , 2 ] ) ,
99
- lastAction : 'toggle-index' ,
99
+ lastAction : null ,
100
100
} ) ;
101
101
} ) ;
102
102
@@ -110,7 +110,7 @@ test.describe('reducer function', () => {
110
110
focusedIndex : 2 ,
111
111
lastShiftRange : { start : null , end : null } ,
112
112
selected : new Set ( [ 1 ] ) ,
113
- lastAction : 'toggle-index' ,
113
+ lastAction : null ,
114
114
} ) ;
115
115
} ) ;
116
116
@@ -124,7 +124,7 @@ test.describe('reducer function', () => {
124
124
lastShiftRange : { start : 1 , end : 4 } ,
125
125
focusedIndex : 4 ,
126
126
selected : new Set ( [ 1 , 2 , 3 , 4 ] ) ,
127
- lastAction : 'expand-selected-to-index' ,
127
+ lastAction : null ,
128
128
} ) ;
129
129
} ) ;
130
130
@@ -143,7 +143,7 @@ test.describe('reducer function', () => {
143
143
focusedIndex : 2 ,
144
144
lastShiftRange : { start : 2 , end : 3 } ,
145
145
selected : new Set ( [ 2 , 3 ] ) ,
146
- lastAction : 'increment-selection' ,
146
+ lastAction : null ,
147
147
} ) ;
148
148
} ) ;
149
149
@@ -162,7 +162,7 @@ test.describe('reducer function', () => {
162
162
focusedIndex : 3 ,
163
163
lastShiftRange : { start : 2 , end : 3 } ,
164
164
selected : new Set ( [ 2 , 3 ] ) ,
165
- lastAction : 'increment-selection' ,
165
+ lastAction : null ,
166
166
} ) ;
167
167
} ) ;
168
168
} ) ;
0 commit comments