@@ -39,7 +39,7 @@ describe('HeaderComponent', () => {
39
39
40
40
const initJobs : JobListView = {
41
41
results : [ testJob1 , testJob2 , testJob3 ] ,
42
- totalSize : null ,
42
+ totalSize : undefined ,
43
43
exhaustive : false ,
44
44
stale : false
45
45
} ;
@@ -139,7 +139,7 @@ describe('HeaderComponent', () => {
139
139
testComponent . chips . delete ( 'statuses' ) ;
140
140
testComponent . jobs . next ( {
141
141
results : [ testJob1 , testJob2 ] ,
142
- totalSize : null ,
142
+ totalSize : undefined ,
143
143
exhaustive : true ,
144
144
stale : false
145
145
} ) ;
@@ -156,7 +156,7 @@ describe('HeaderComponent', () => {
156
156
testComponent . chips . delete ( 'statuses' ) ;
157
157
testComponent . jobs . next ( {
158
158
results : [ testJob1 , testJob2 ] ,
159
- totalSize : null ,
159
+ totalSize : undefined ,
160
160
exhaustive : false ,
161
161
stale : false
162
162
} ) ;
@@ -172,7 +172,7 @@ describe('HeaderComponent', () => {
172
172
it ( 'should not show length of inexhaustive job streams of unknown length' , async ( ( ) => {
173
173
testComponent . jobs . next ( {
174
174
results : [ testJob1 ] ,
175
- totalSize : null ,
175
+ totalSize : undefined ,
176
176
exhaustive : false ,
177
177
stale : false
178
178
} ) ;
@@ -184,7 +184,7 @@ describe('HeaderComponent', () => {
184
184
// Transition to exhaustive, "of X" should now display length (even though totalSize is still null).
185
185
testComponent . jobs . next ( {
186
186
results : [ testJob1 , testJob2 ] ,
187
- totalSize : null ,
187
+ totalSize : undefined ,
188
188
exhaustive : true ,
189
189
stale : false
190
190
} ) ;
0 commit comments