add centroid util unit tests (#1172)

* scaffold the test

* create tests
This commit is contained in:
Severiano Badajoz
2020-02-26 12:16:13 -08:00
committed by GitHub
parent 8a62c9f027
commit 0043308b52
2 changed files with 97 additions and 1 deletions
+1 -1
View File
@@ -114,5 +114,5 @@ const hashMedianCentroid = (
categorySelection
)}:${Object.keys(schemaObsByName)}`;
};
// export the mmemoized calculation function
// export the memoized calculation function
export default memoize(calcMedianCentroid, hashMedianCentroid);