-
i'm using moment-jalaali": "^0.9.4",
i get this error when i try to run test : moment is not a function
and after google it, i found this code:
jest.mock('moment', () => ({
format: () => '2018–01–…
-
```
we need to implement Mock objects in AS3
```
Original issue reported on code.google.com by `zwetan` on 1 Nov 2008 at 3:18
-
Hi folks, I'm trying to use this library but I'm seeing the following error. Am I doing something wrong?
TypeError: Cannot destructure property 'ConfigurationError' of 'errors' as it is undefined.
…
-
```
What steps will reproduce the problem?
import mock, functools
f = functools.partial(lambda a, b : a + b, 1)
with mock.patch(f) as mf:
pass
-----
What is the expected output? What do you see…
-
aa18c66a349c8f33ad061e2d6ff655233aa2b762 allowed mocks to be Send/Sync by forcing the user only provide Send closures, and using `Mutex` instead of `RefCell` for the interior mutability of the `MockSt…
nrxus updated
4 years ago
-
Hi, I just wanted to ask if there are any plans regarding migration to Kotlin BLE library. As I understand it, as long as I am using managers from this library, I am locked to using `McuMgrBleTranspor…
-
**Do you want to request a _feature_ or report a _bug_?**
Bug
**What is the current behavior?**
Running this in my tests:
```
import { enums } from './index';
describe('test', () => {
…
-
[According to the Voidspace mock documentation](http://www.voidspace.org.uk/python/mock/examples.html#checking-multiple-calls-with-mock), you can verify that a method was invoked with specific paramet…
-
## Search Terms
ES6 function name, const assertions, `as const`, function as const
## Suggestion
I would like to see the `name` property of functions to be available at compile time if th…
-
I used to use in my Golden tests a TestCacheManager from [this](https://medium.com/flutter-community/golden-testing-using-cachednetworkimage-1b488c653af3) article and it worked fine. After upgrading t…