From 8e1c996630bf3a4ef7bd01fa5cd2c6f294c5492c Mon Sep 17 00:00:00 2001 From: Ritik Jain <60597329+re-Tick@users.noreply.github.com> Date: Mon, 9 Jan 2023 17:36:50 +0530 Subject: [PATCH] fix: passe default mockpath to generate context in keploy initialization (#161) Signed-off-by: re-Tick Signed-off-by: re-Tick --- keploy/keploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keploy/keploy.go b/keploy/keploy.go index abe0a0a..dd1d024 100644 --- a/keploy/keploy.go +++ b/keploy/keploy.go @@ -174,7 +174,7 @@ func New(cfg Config) *Keploy { Mode: GetMode(), Name: k.cfg.App.Name, CTX: context.Background(), - Path: cfg.App.TestPath, + Path: strings.TrimSuffix(cfg.App.MockPath, "/mocks"), OverWrite: true, }) }