This test covers converting a CSV to json and thus validating it to obtain important information about:
- CSV Data Manipulation and Conversion to Array
- Data Conversion to Brazilian Real Currency
- Validation of CPF or CNPJ
- Validation of Total Value and Installments
- Conversion of Dates to Date Type
Adding test scenarios using Jest
npm install
npm start
npm run test