Releases: WhatAKitty/react-native-fetch-mock
Releases · WhatAKitty/react-native-fetch-mock
1.0.0
0.9.0
0.8.0
- upgrade path-to-regexp dependency
0.7.0
Delay fetch
NEW FEATURE
- support global delay
- support delay for some path
V0.5.2 The Version Support Proxy Other Server
NEW FEATURE
- Support proxy for other servers
- Don't need include this module under babel compile anymore
- Support path-to-regexp in exclude and proxy path
0.4.0
Exclude path what you don't want to mock.
0.3.1
Support pure data
new:
// you could return array or object directly
return [];
return {};
old:
return {
status: 200,
data: []
}
0.3.0
Refactor response
0.2.0
Breaking changes
Return obj instead of promise
New Features
Support HTTP Method Declare
Example:
'POST /path/api': {}