Anthony Ng

Results 13 comments of Anthony Ng

The original implementation did something similar. This [PR](https://github.com/JedWatson/classnames/pull/50#issuecomment-144703425) changed it to the current implementation with arrays. It seemed like _readability_ was the main reason of switching over.

@JedWatson Good callout. I updated and removed the `Set.prototype.values` and `Array.from` calls because of the lack of `IE11` support. Let me know if there's any other changes.

@esphen Have you tried using `jest.mock` to solve this ([see docs here](https://facebook.github.io/jest/docs/en/jest-object.html#jestmockmodulename-factory-options))? In the top of your test file, try something like: ```jsx jest.mock("random-id", () => { return () =>...

@esphen Awesome, let me know how it goes. I'm unsure if this is the best place to document using `mocks`. Part of me feels like the documentation should reside inside...

@vaheqelyan What are your thoughts?

When trying to return multiple children and using `React.Children.only`, you get this error message: > React.Children.only expected to receive a single React element child. I'm wondering if this is the...

@maksimgm Can you create a minimal project that reproduces this?

The `README.md` says to use the below: ```js const { configureStore } = require('redux-mock-store'); ```

Can you create a repository that recreates a basic example of this error?

@Kronenberg Sorry for late response. It looks like you have a typo in your code. ```js // 👇 this works for you import configureMockStore from "redux-mock-store"; // 👇 notice how...