-
```
How about mocking (doReturn-when) with reflection? i.e. method name and
arguments are provided at the run-time. One use that I can find is when
using dynamically generated classes.
class A {
p…
-
moro updated
14 years ago
-
Could happen at lots of layers....
1. ez_upload gets 'do: false'
2. willrecord = false
@bwinton ideas on this welcome, if you have use cases / nervousness.
-
- mock: 英 [mɒk] 模拟
- [fetch-mock](https://github.com/wheresrhys/fetch-mock)
- Mock http requests made using fetch
-
mockJson = {
errcode: 0,
email: Random.email('qq.com'),
msg:function(){
return 'ce'
}
}
浏览器访问 msg没有返回
这是在高级mock中写的mock脚本
-
The `NullShellExecutor` is currently tested using mocks. This prevents us from making the class final.
We should revise the tests for that class and finalize the class.
-
I've been meaning to provide this as importable within react-tracking via something like: `import track, { mockTrackEvent, TrackingPropType } from 'react-tracking/mock';` but haven't had a chance yet.…
-
Currently login is simulated but to test things like ForceAuthn we should login the user via a session and then provide a logout functionality. If use is logged in they should be directly taken throug…
-
### Minimal reproducible example
https://github.com/centdix/expo-mre
### What platform(s) does this occur on?
Android, iOS
### Did you reproduce this issue in a development build?
Yes
### Summar…
-
While working with many projects a typical user requirement has been to be able to mock some UI elements to:
- change or remove a text
- fully change the UI
This requirements has been generally…