File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ export function extractAlgoColumnsFromObject(
3131 }
3232
3333 let output : Config . CoreConfiguration [ 'algorithm' ] [ 'columns' ] = {
34- static : columnConfig . static . map ( ( colName ) => obj [ colName ] ) . filter ( Boolean ) ,
35- process : columnConfig . process . map ( ( colName ) => obj [ colName ] ) . filter ( Boolean ) ,
36- reference : columnConfig . reference . map ( ( colName ) => obj [ colName ] ) . filter ( Boolean ) ,
34+ static : columnConfig . static . map ( ( colName ) => obj [ colName ] ) ,
35+ process : columnConfig . process . map ( ( colName ) => obj [ colName ] ) ,
36+ reference : columnConfig . reference . map ( ( colName ) => obj [ colName ] ) ,
3737 } ;
3838
3939 return output ;
Original file line number Diff line number Diff line change @@ -35,7 +35,12 @@ describe("hashing::util", () => {
3535 reference : [ 'col_refa' , 'col_refb' ] ,
3636 } ,
3737 { } ,
38- ) ) . toEqual ( { static : [ ] , process : [ ] , reference : [ ] } ) ;
38+ ) ) . toEqual ( {
39+ static : [ undefined , undefined ] ,
40+ process : [ undefined , undefined ] ,
41+ reference : [ undefined , undefined ]
42+ } ) ;
43+ // TODO: come back and revisit this - the undefineds are needed by the NWS tests
3944
4045 expect ( extractAlgoColumnsFromObject (
4146 {
You can’t perform that action at this time.
0 commit comments