When we are using Phantomjs in our project in conjunction with Base2 library, we are getting the following error:
+ phantomjs ...../src/test/javascript/SpecRunner.html
TypeError: setting a property that has only a getter
Can anyone point out how to fix this issue? It seems it occurs due to Javascript "strict mode" inside Phantomjs (refer here), but could not find from Phantomjs docs on how to turn this off, especially since it occurs in the external lib (Base2.js) that we need?
Thanks,
Paddy