Skip to content

Commit

Permalink
Update step-26-mock-server-configuration-typescript-3e1c64f.md (#154)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
serhatci authored Aug 26, 2024
1 parent c4b918a commit 8f51200
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
});
Expand Down

0 comments on commit 8f51200

Please sign in to comment.