I get this when running make test-dev in attempting to stub (sinon) window['history']:
Chrome 51.0.2704 (Mac OS X 10.11.4) Structure "before each" hook for "initialize" FAILED TypeError: Cannot assign to read only property 'history' of object '#<Window>' at Object.stub (/Users/sean/projects/mockup/mockup/bower_components/sinonjs/sinon.js:4146:42)
It appears Chrome (while permitting me to set window['history']) errors as above when sinon.stub attempts this:
I see this with latest mockup master (as of 11ade25ca55d23eb62a3ce67c3f8193eb4f62857), running on El Capitan and karma running Chrome 51.0.2704.84 (64-bit).
I get this when running
make test-dev
in attempting to stub (sinon) window['history']:Chrome 51.0.2704 (Mac OS X 10.11.4) Structure "before each" hook for "initialize" FAILED TypeError: Cannot assign to read only property 'history' of object '#<Window>' at Object.stub (/Users/sean/projects/mockup/mockup/bower_components/sinonjs/sinon.js:4146:42)
It appears Chrome (while permitting me to set window['history']) errors as above when sinon.stub attempts this:
https://github.com/plone/mockup/blob/master/mockup/tests/pattern-structure-test.js#L842
I see this with latest mockup master (as of 11ade25ca55d23eb62a3ce67c3f8193eb4f62857), running on El Capitan and karma running Chrome 51.0.2704.84 (64-bit).
I see no such problems testing using
make test
.