There is a bug in production due to the npm package 'json2csv' having been upgraded from v3 to v4 in some indiscriminate package.json update. This PR fixes that big by updating the json2csv call.
It also adds a jest test for the timur 'downloadTSV' util function, which is used by 'VectorResult' and 'MatrixResult' in the ConsignmentResult to download a TSV of data. I'm not sure this is the best test to use.
There is a bug in production due to the npm package 'json2csv' having been upgraded from v3 to v4 in some indiscriminate package.json update. This PR fixes that big by updating the json2csv call.
It also adds a jest test for the timur 'downloadTSV' util function, which is used by 'VectorResult' and 'MatrixResult' in the ConsignmentResult to download a TSV of data. I'm not sure this is the best test to use.