jasmine: 2.6 upgrade from 2.5.2 generates errors

Jasmine 2.5.2 -> 2.6.0

I am running my tests using Karma and PhantomJS and until yesterday everything was running smoothly but since then my Jenkins tests have been failing. After downgrading to jasmine 2.5.2 explicitly everything went back to normal.

> karma start ./config/karma.conf.js

PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  TypeError: undefined is not a constructor (evaluating 'global.process.listeners('uncaughtException')')
  at node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2180
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  TypeError: undefined is not a constructor (evaluating 'global.process.listeners('uncaughtException')')
  at node_modules/jasmine-core/lib/jasmine-core/jasmine.js:2180

PhantomJS 2.1.1 (Mac OS X 0.0.0): Executed 0 of 44 ERROR (0.002 secs / 0 secs)

npm ERR! Test failed.  See above for more details.

I am fine with 2.5.2, but I am just putting it here in case someone else really needs 2.6 and needs this fixed

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 5
  • Comments: 28 (10 by maintainers)

Commits related to this issue

Most upvoted comments

+1 same error. 2.5.2 and 2.5.3 work fine.

+1, same here.