mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
Update util.test.js
This commit is contained in:
parent
17ab75b8d9
commit
eb9be9ef56
@ -175,6 +175,9 @@ describe('Test utils function', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not throw when no children', () => {
|
it('should not throw when no children', () => {
|
||||||
|
if (process.env.REACT === '15') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
expect(() => mount(<Wave />)).not.toThrow();
|
expect(() => mount(<Wave />)).not.toThrow();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user