Closed rincedd closed 8 years ago
The following breaks in environments that do not support the ES2015 method String.prototype.includes, such as Internet Explorer and Phantom JS.
String.prototype.includes
expect(wrapper.find('#child')).to.contain.text('Te')
I guess the solution would be to include an appropriate polyfill in the build.
Closely related to https://github.com/producthunt/chai-enzyme/pull/111
Merged in #111 so this will no longer be an issue on the next release
Thanks :+1:
The following breaks in environments that do not support the ES2015 method
String.prototype.includes
, such as Internet Explorer and Phantom JS.I guess the solution would be to include an appropriate polyfill in the build.