1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02: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;