/katas-exaltit

Exalt IT Katas NodeJS (Test junior + confirmed)

Primary LanguageTypeScript

Welcome to Exalt-IT Test

This is a proposal for the Katas Node.js test made by Sébastien Abbal based on node.js language with Typescript.

🚀 Get started

To start, create a .env file with this format. (Don't forget to put your Krates ID)

NODE_ENV="dev"
KRATES_ID="xxxxxxxxxxxxxxxxxxxx"

Now you have to run some commands to init the project.

$ yarn
$ yarn build

Well done ! :)

Check the bigparsing_confirmed

$ yarn run_bigparsing_confirmed 62359
# Will return `Damon Jerde`

Check the data_correction_junior

$ yarn run_data_correction_junior
# Will generate a final.json file on ./data/data_correction_junior directory

🚦 Tests

To test all the app with jest, you need to run this command line:

$ yarn test
# Test Suites: 4 passed, 4 total
# Tests:       8 passed, 8 total
# Snapshots:   0 total
# Time:        16.605 s
# Ran all test suites.
# ✨  Done in 18.60s.

🛠 Docs