Sample application that describes the configuration problem.
Run npm install
to get the dependencies and npm test
to run the index.spec.ts test.
Currently it fails with :
25 01 2017 20:02:04.734:INFO [karma]: Karma v1.3.0 server started at http://localhost:9876/
25 01 2017 20:02:04.736:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
25 01 2017 20:02:04.740:INFO [launcher]: Starting browser PhantomJS
25 01 2017 20:02:06.304:INFO [PhantomJS 2.1.1 (Windows 7 0.0.0)]: Connected on socket /#-FVT7ItY2HRYNXnOAAAA with id 56600517
PhantomJS 2.1.1 (Windows 7 0.0.0) Application extend should use Object.assign FAILED
Failed: undefined is not a constructor (evaluating 'Object.assign(a, b)')
extend@index.spec.ts:81:30
index.spec.ts:59:44
loaded@http://localhost:9876/context.js:151:17
PhantomJS 2.1.1 (Windows 7 0.0.0): Executed 1 of 1 (1 FAILED) ERROR (0.002 secs / 0.001 secs)
npm ERR! Test failed. See above for more details.