From 873e126ba2f955649cf26abef08137969cfed281 Mon Sep 17 00:00:00 2001 From: Serhat Ciftci <36408498+serhatci@users.noreply.github.com> Date: Sun, 25 Aug 2024 15:06:52 +0200 Subject: [PATCH] Update step-26-mock-server-configuration-typescript-3e1c64f.md The config method is a static method, which means it's a property of the class itself, not an instance of the class. We can access it using MockServer.config instead of mockServer.config. --- .../step-26-mock-server-configuration-typescript-3e1c64f.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/03_Get-Started/step-26-mock-server-configuration-typescript-3e1c64f.md b/docs/03_Get-Started/step-26-mock-server-configuration-typescript-3e1c64f.md index a8de2ba..417b045 100644 --- a/docs/03_Get-Started/step-26-mock-server-configuration-typescript-3e1c64f.md +++ b/docs/03_Get-Started/step-26-mock-server-configuration-typescript-3e1c64f.md @@ -161,7 +161,7 @@ export default { const urlParams = new URLSearchParams(window.location.search); // configure mock server with a delay - mockServer.config({ + MockServer.config({ autoRespond: true, autoRespondAfter: parseInt(urlParams.get("serverDelay") || "500") });