Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: on the test mode #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: on the test mode #84

wants to merge 1 commit into from

Conversation

VishalMyla
Copy link

changes

changes

Signed-off-by: Vishal Myla <[email protected]>
@@ -94,6 +95,19 @@ export default function middleware(
return;
}

// the user is makiing the request so we made the fun - off , i.e the keploy server is in off mode
const fun = keploy.mode.GetMode();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct. we should also set mode in ctx to off.
Can you do the logic expression for if stmt in a single line of code here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants