1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for tests

This commit is contained in:
Hillel Coren 2018-03-29 23:05:18 +03:00
parent bcd707afb8
commit 0efece650e

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;