mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
test: fix react mock
This commit is contained in:
parent
435d793d60
commit
91a7318999
2
tests/__mocks__/react.js
vendored
2
tests/__mocks__/react.js
vendored
@ -15,4 +15,4 @@ if (!React.createRef) {
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = React;
|
||||
Object.assign(module.exports, React);
|
||||
|
Loading…
Reference in New Issue
Block a user