typescript-sdk icon indicating copy to clipboard operation
typescript-sdk copied to clipboard

Logs the mode and description of keploy

Open frey0-0 opened this issue 2 years ago • 1 comments

Fixes #390

  • Adds logs in the constructor of keploy class and mock.ts
  • Uses mode.GetMode() to get the mode instead of process.env as the mode in the .env can be some other than test, record or off
  • Add a modeDescription() function to log the description as writing a switch case or if there seemed to reduce the readability of the code

frey0-0 avatar Mar 24 '23 20:03 frey0-0

LGTM

re-Tick avatar Mar 26 '23 17:03 re-Tick