-
### use [mock.js](https://github.com/nuysoft/Mock/wiki/Mock.Random)
in swagger-router.js getMockValue function
### these was my changed files
``` javascript
var Mock = require('../lib/mock');
v…
-
### Checklist
- [X] This is **not** a new feature or an enhancement to the Filecoin protocol. If it is, please open an [FIP issue](https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0001.…
-
For tests, we now have the `trigger_swap_update!` macro, which simulates Boltz WS updates. The tests then check if our swap states were correctly updated.
Since some state transitions depend on onc…
-
After upgrading our codebase to jest 26 and this library to 1.5.1, our tests that used the `.toHaveBeenCalled` assertions stopped working. It appears that the `.mock` property is never updated with th…
-
**Background:**
I've created a React project with a Clean Architecture approach and now I want to unit-test the Use-Cases (which call Repositories, which call Data-Sources, so on and so on) agains…
-
Currently almost every buildpack that uses libcnb and has tests has to write code to create mock contexts etc. We should consider adding this to the existing set of mocks.
~We should also consider …
-
Thanks a lot for all the work with `duckdb`! I have found it to be extremely useful!
I'm running into an issue with querying files stored in a mock s3 bucket (working with the real s3 bucket), her…
-
See https://github.com/MetaMask/metamask-extension/pull/17835/files#r1113045235
Refactor the e2e mock server so we can have granular control over mock requests;
AC:
- [ ] add documentation for …
-
Hey folks, i am trying to write some UTs around my Novu service class. For that i am using mockito to mock the behavior of Novu. However, I am blocked because the APIs are marked as internal which mak…
-
I would like to be able to render widgets to `Text`.
The documentation of `renderWidget` suggests using the `Vty` library to render `Picture`, but it is not obvious to me how to do that.
What I …