Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mock/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export function NewContext(conf: Config) {
if (Mode.Valid(conf.Mode)) {
mode = conf.Mode;
}
console.log("Keploy running in: ",mode," mode");
switch (mode) {
case "test":
if (conf.Name === "") {
Expand Down
3 changes: 2 additions & 1 deletion src/keploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default class Keploy {
this.responses = {};
this.dependencies = {};
this.mocks = {};
console.log("Keploy running in: ",process.env.KEPLOY_MODE," mode");
}

validateServerConfig({
Expand Down Expand Up @@ -277,7 +278,7 @@ export default class Keploy {
console.error(
"failed to call test method of keploy. error: ",
err
);
);
}

if (response?.pass?.pass === false) {
Expand Down