This is the release of Jasmine 2.1.
- Support for focused specs via
fit
andfdescribe
- Support for
beforeAll
andafterAll
- Support for an explicit
fail
function, both in synchronous and asynchronous specs - Allow custom timeout for
beforeEach
,afterEach
,beforeAll
,afterAll
andit
- Spies now track return values
- Specs can now specify their own timeouts
- Testing in Node.js via the official Jasmine Node Module
- Spec results now have
suiteResults
method that behaves similarly to tospecResults
- HtmlReporter shows error alerts for afterAllExceptions
- CI now works for IE8 (this was releated to
ConsoleReporter
below) - Detect global object properly when getting the jasmine require obj
- Fixes Issue #569 - Tracker Story #73684570
The Console Reporter exists nearly entirely for the old manner of running Jasmine's own specs in node.js. As we are now supporting node.js officially, this reporter code no longer needs to be in this repo and instead will be in the Jasmine npm.
For now you will see a deprecation message. It will be removed entirely in Jasmine 3.0.
- Release Notes from previous releases now live at Jasmine's GitHub release page. See Tracker Story #54582902
- Better instructions for releasing new documentation
- Simplification of HTMLtags in SpecRunner.html
- Merges #700 from @tkrotoff
toContain
works with array-like objects (Arguments, HTMLCollections, etc)- Merges #699 from @charleshansen
- Fixed isPendingSpecException test title
- Merges #691 from @ertrzyiks
- Fixed an issue with example code in the npm
- Merges #686 from @akoptsov
- When the Jasmine clock is installed and date is mocked,
new Date() instanceof Date
should equaltrue
Issue #678 & Issue #679 from @chernetsov - Support for an explicit
fail
function, both in synchronous and asynchronous specs - Allow custom timeout for
beforeEach
,afterEach
,beforeAll
,afterAll
andit
- Fixes Issue #483 - specs can now specify their own timeouts
- Spies can track return values
- Interval handlers can now clear their interval
- Updated to the latest
json2.js
- Merges #616 from @apaladox2015
Release Notes generated with Anchorman