test: fix react mock

pull/11421/head
Wei Zhu 7 years ago
parent 435d793d60
commit 91a7318999

@ -15,4 +15,4 @@ if (!React.createRef) {
};
}
module.exports = React;
Object.assign(module.exports, React);

Loading…
Cancel
Save