Skip to content

Commit cc83c53

Browse files
authored
Update README.md
1 parent 56b91f0 commit cc83c53

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ const mock = request => Promise.reject(Error('request is invalid'))
3030
register('fetchData', service, mock)
3131
```
3232

33-
### `getOperation(name:String) : Function`
34-
The `getOperation` method returns the `operation` associated with a given name key. If `mock` is enabled, the `mockOperation` will be returned instead.
35-
3633
#### Arguments
3734

3835
**`name : String [required]`** The name of the operation.
@@ -136,4 +133,4 @@ These three methods are helper methods. They return a match function which take
136133
**`channel : String [Optional]`** A channel name to be matched.
137134

138135
#### Return : Function(action : Object)
139-
The method returned from the helper methods takes an action object and returns either `true` if the action matches the provided info or `false` if the action does not.
136+
The method returned from the helper methods takes an action object and returns either `true` if the action matches the provided info or `false` if the action does not.

0 commit comments

Comments
 (0)