Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.0
-
Windows/Mac OSX machine,
Node JS 0.12.7
Description
Since https://github.com/apache/cordova-js/pull/118 unit tests for cordova-js started failing on AppVeyor CI with unclear message Fatal error: Cannot set property length of [object Object] which has only a getter.
It looks like the origin of failures - updated NodeJS version on AppVeyor build machines. Failure also can be reproduced on local machine with Node@0.12.5 installed.
The reason of failures - is outdated jsdom-nogyp dependency (last updated about 2 years ago). The solution is to replace jsdom-nogyp with original node-jsdom, which works fine with node@12.x. It also would be great to test such cases through CI.