Unit testing helpers for reactjs
https://github.com/JedWatson/react-select I would like to use React-Select react component, but I need to add tests. I've …
reactjs testing mocha.js reactjs-testutils react-selectI'm writing Jest tests for my React code and hoping to make use of/test the PropType checks. I am …
reactjs jestjs reactjs-testutils react-proptypesConsider the following input element in a React component: <input onChange={() => console.log('onChange')} ... /> While testing the …
reactjs reactjs-testutilsUsing JEST to unit test a component that has a keydown listener attached to the document. How can I test …
unit-testing reactjs addeventlistener jestjs reactjs-testutilsI am modifying an example found here: https://github.com/airbnb/enzyme/blob/master/docs/api/ReactWrapper/setProps.md class …
javascript reactjs jasmine reactjs-testutils enzymeI have following code in my component var rect = ReactDOM.findDOMNode(this).getBoundingClientRect(); I use d3js and render graph …
reactjs jestjs reactjs-testutilsI have a very simple React mixin which uses jQuery to trigger an event MyMixin = { trackStructEvent: function () { args = Array.prototype.…
jquery reactjs jestjs reactjs-testutilsI've a react component that makes AJAX call in componentDidMount method. While I try to render it using React.addons.…
ajax unit-testing reactjs jestjs reactjs-testutilsI want to use TestUtils.Simulate.mouseMove on the document. I have a component Dragger that adds a mouseMove event …
reactjs reactjs-testutilsI cannot write correct test case for button property disable. I use TestUtils from react-addons-test-utils. I have very simple component: …
reactjs reactjs-testutils react-test-renderer