krono-trigger

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

> The result of the treatment is exported to a Json that can be consulted

Instalation

npm install

Run

npm start

Tests

npm run test