Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(function() {
container = document.createElement('div');
component = ReactDOM.render(
React.createElement(RadonSelect, {selectName: "test"}, [
React.createElement(RadonSelect.Option, {key: "blah"}, "blah"),
React.createElement(RadonSelect.Option, {key: "foo"}, "foo")
]),
container
);
});
beforeEach(function() {
container = document.createElement('div');
component = ReactDOM.render(
React.createElement(RadonSelect, {selectName: "test"}, [
React.createElement(RadonSelect.Option, {key: "blah"}, "blah"),
React.createElement(RadonSelect.Option, {key: "foo"}, "foo")
]),
container
);
});