-
I have this code from:
https://sazzer.github.io/blog/2015/08/20/Unit-Testing-ES6-Modules-Mockery/
I run the test by `BABEL_ENV=ES2015 mocha --require babel-register --recursive tests`
But i …
-
Unfortunately i can't get this both to work together
rspec (3.8.0)
rspec-mocks (3.8.1)
mocha (1.4.0)
This is the line that is failing:
```
expect(User).to have_received(:activate!).once
(cl…
-
Define desired schema. Follow a convention? Use a user-defined model? If so, pre-implement common schemas like Postman/Swagger?
-
### Summary
When you pass enum to create test mocks, you get a JSON decoding error:
```
couldNotConvert(value: AnyHashable(ApolloAPI.GraphQLEnum.case(ProfileFriendStatus.none)), to: Swift.String)
…
-
**Is your feature request related to a problem? Please describe.**
This file is currently tested using Jest. As part of our migration to Vitest, we need to refactor this file's test cases to align …
-
**Is your feature request related to a problem? Please describe.**
This file is currently tested using Jest. As part of our migration to Vitest, we need to refactor this file's test cases to align …
-
### Context
As we are revamping the overall item flow we want to create mocks, matching the style guide of the item feed, for the item card.
The voting wording should be modified to:
1) I support…
-
OCMock partial mocks crash when used with objc_direct methods that directly access instance variables. The code provided is a test case which shows the problem.
It's likely that nothing can be don…
-
Currently, it's possible to mock a Nuxt import:
```js
mockNuxtImport('useStorage', () => {
return vi.fn()
})
```
When we want to access this mock in our test, to run an assertion or to c…
-
### Describe the feature in detail (code, mocks, or screenshots encouraged)
I want to be able to extend the number of colours in the theme, so that after adding the the `inform` colours to the theme,…