SDG-AI-Lab / Digital_Technologies_Radar

SDG AI Lab in partnership with UNDP DRT and CBi has developed an online tool – a Frontier Technology Radar for Disaster Risk Reduction (FTR4DRR), which allows for the systematic tracking and understanding of frontier technologies as they are developed. This would categorize technological solutions according to their technology type, disaster/crisis type and maturity level. Moreover, it is expected that the tool developed would encourage knowledge and experience-sharing among development stakeholders on the use of frontier technologies in disaster and conflict contexts. The Frontier Technology Radar for Disaster Risk Reduction (FTR4DRR) aims to highlight the potential of technological solutions in disaster contexts to those working in the fields of risk reduction, response and recovery. It supports development stakeholders to navigate the variety of existing and emerging technologies and their possible use cases.
11 stars 4 forks source link

Add unit tests for filtering functionality covering filtering by Parameters #401

Closed jacksono closed 10 months ago

jacksono commented 10 months ago

We have a filter component that is used in different pages with the same function - to filter projects by categories. The categories we have are:

Screenshot 2023-08-22 at 10 56 57

This task is to test the actual logic of the filtering functionality irrespective of where we have the filtering components. Yous should scope the filtering test to the Parameters category The filter function is called getParameterFilteredProjects and is found in src/components/shared/helpers/HelperUtils.ts

For test data you can use part or all of the data in the provided csv file (will be shared on discord).