The goal of this kata is to refactor the code of do-operation service to make it more:
- readable
- maintainable
- extensible
- testable
You have to refactor the code of calculate in priority
Starts the application in development using nodemon
and ts-node
to do hot reloading.
avec node 18 t'es plus obligé d'utilisé nodemon
Starts the app in production by first building the project with npm run build
, and then executing the compiled JavaScript at build/index.js
.
Builds the app at build
, cleaning the folder first.
Runs the jest
tests once.
Run the jest
tests in watch mode, waiting for file changes.
Format your code.
Format your code in watch mode, waiting for file changes.