Skip to content

Instantly share code, notes, and snippets.

@MrCoder
Created December 28, 2017 04:55
Show Gist options
  • Save MrCoder/7c7dabd8bf0e72896daa39cde87dafd5 to your computer and use it in GitHub Desktop.
Save MrCoder/7c7dabd8bf0e72896daa39cde87dafd5 to your computer and use it in GitHub Desktop.
mockServerClient("localhost", 1080)
.mockAnyResponse({
"httpRequest": { "method": "GET", "path": "/status" },
"httpResponse": { "statusCode" : 200, "body": "{\"status\": \"OK\"}" },
"times": {
"remainingTimes": 10,
"unlimited": false
},
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment