Fix for tests

This commit is contained in:
Hillel Coren 2018-03-29 23:05:04 +03:00
parent d42b906d97
commit 6a24181079

View File

@ -73,6 +73,11 @@
if (errorMsg.indexOf('DOM Exception 22') > -1) {
return;
}
@if (Utils::isTravis())
if (errorMsg.indexOf('Attempting to change value of a readonly property') > -1) {
return;
}
@endif
// Less than IE9 https://stackoverflow.com/a/14835682/497368
if (! document.addEventListener) {
return;