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
- Make sure the queue runner goes async for async specs - Even if `done` is called synchronously. See #1327 #1334 jasmine/gulp-jasmine-browser#48 — committed to jasmine/jasmine by deleted user 7 years ago
- Make sure the queue runner goes async for async specs - Even if `done` is called synchronously. See #1327 #1334 jasmine/gulp-jasmine-browser#48 This is a backport of 578f63b9bd34f75074a00b9a404b48d... — committed to jasmine/jasmine by sgravrock 7 years ago
- Break into a `setTimeout` every once in a while - Allows the CPU to run other things that used the real `setTimeout` - Fixes #1327 - See #1334 - Fixes jasmine/gulp-jasmine-browser#48 — committed to jasmine/jasmine by deleted user 7 years ago
- Break into a `setTimeout` every once in a while - Allows the CPU to run other things that used the real `setTimeout` - Fixes #1327 - See #1334 - Fixes jasmine/gulp-jasmine-browser#48 — committed to jasmine/jasmine by deleted user 7 years ago
+1 same error. 2.5.2 and 2.5.3 work fine.
+1, same here.