Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit e78570b

Browse files
committed
Add comments to code examples
1 parent 7c926ea commit e78570b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ A "fixture" defines the response for an specific uri. It has to be an object con
108108
```js
109109
// Fixtures file
110110

111+
// fixtures with static responses
111112
const uri_1_fixture = {
112113
url: "/api/foo-uri",
113114
method: "GET",
@@ -129,6 +130,7 @@ const uri_2_fixture = {
129130
}
130131
};
131132

133+
// fixture with a dynamic response
132134
const uri_2_different_fixture = {
133135
url: "/api/foo-uri-2/:id",
134136
method: "PUT",

0 commit comments

Comments
 (0)