feat(mock.ts, keploy.ts, client.ts): Adding Keploy Mode in logs to noβ¦#48
feat(mock.ts, keploy.ts, client.ts): Adding Keploy Mode in logs to noβ¦#48Hermione2408 wants to merge 3 commits intokeploy:mainfrom
Conversation
|
Hi @Hermione2408, we just need to log mode only once which could be from src/keploy.go and mock/mock.go This console statements can be in the constructor of Keploy class. |
0085783 to
1278a4f
Compare
mock/mock.ts
Outdated
| Mode: string; | ||
| } | ||
| export function NewContext(conf: Config) { | ||
| console.log("Keploy running in: ",process.env.KEPLOY_MODE," mode"); |
There was a problem hiding this comment.
Please place this log statement after this because here we are considering mode either from env variable or conf.mode parameter. Also log value of "mode" in log statement instead of process.env
β¦tify user Adding Keploy mode in logs to notify user in which mode keploy is running whether it is record, test, off feat #45 Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
feat #45 Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
feat #45 Signed-off-by: Hermione Dadheech <hermionedadheech@gmail.com>
e8a3620 to
1ad2d59
Compare
|
LGTM. Hey @Hermione2408 , Please add link to this PR in GSOC/2023 Task List . |
|
Done. |
|
Nice Pr π. We currently support Unit Test Generation only for Go projects. |
1 similar comment
|
Nice Pr π. We currently support Unit Test Generation only for Go projects. |
Adding Keploy mode in logs to notify user in which mode keploy is running whether it is record, test, off
feat keploy/keploy#390
Closes: keploy/keploy#390