Update util.test.js

This commit is contained in:
偏右 2019-05-27 20:24:53 +08:00 committed by GitHub
parent 17ab75b8d9
commit eb9be9ef56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}); });
}); });