Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [FEAT] create the scraper in the getEuropeVariants.js file, modify the api_gov.spec.js and getGovData.js files * [FEAT] create the scraper in the getEuropeVariants.js file, modify the api_gov.spec.js and getGovData.js files * [MODIFY] Rename the getEuropeVariants to --> getVariants * [MODIFY] Add the line 22 variants to the json * [MODIFY] change the values of keys.variants in the line 15 and 22 * [ADD/MODIFY] add the instance of the variant.js file and modify the getGovData.js since the variant scraper doesn't belong in there * [MODIFY] change a several files in order to connect the variant scraper with the endpoint v3/covid-19/variants/countries/{country} * [MODIFY] now the scraper works and return the data in the correct format * [MODIFY] remove the parameters yearWeek and variant from router.get in apiVariants.js file since they're never use * [MODIFY] add test for the getVariants.js scraper and remove console.log and commented code from the others files. * [MODIFY] add swagger documentation * [MODIFY] fix swagger documentation * [MODIFY] fix eslint style problems * [MODIFY] I commented the lines 2-5 in api_influenza.spec.js file to fix the linting problem, as there are variables assigned that are never used. * [MODIFY] I change the --timeout value from 200000 to 300000 for the 'test' and the 'test-single' in the package.json file in order to get time enough to complete all tests * [MODIFY] Put back the var in line 57 in order to get a right eslint performance Co-authored-by: Ethan Winters <ebwinters@comcast.net>
- Loading branch information