This is an overview and may be incomplete. https://github.com/velesin/jasmine-jquery/commits/master is where to see everything.
- fix:
toHaveText
to match text as in, as well as trimming (#163)
- fix: references to
jQuery
(#190)
- fix: xhr failure requests (#174)
- fix: don't load inline js in fixtures (for templates, etc.)
- fix: ajax call to work with jquery 2
Due to limitations with jasmine 2, e.g. not being able to add behavior to built-in matchers, there are some api changes in jasmine-jquery. Bug the jasmine maintainers to make modifying matchers possible again.
- change:
toContain($el)
is nowtoContainElement($el)
- change:
toBe($el/selector)
is nowtoEqual($el/selector)
- add: support for jasmine v2
- add: toBeInDOM() matcher
- fix: usages of jQuery to use $ (#159)
- change namespace to be jasmine.jQuery
- fix: check strict equality in
hasProperty
- fix: cloning radio buttons maintains their checked value
- fix: caching json data fixtures (#149)
- fix: throw error when loading a fixture that doesn't exist (#146)
- fix: toHaveCss() to support expecting a css property be auto (#147)
- fix: toExist() for objects outside of the DOM (#64, #148)
- add: matcher for jQuery's event.stopPropagation()
- add: toHaveLength() matcher
- add: toContainText() matcher
- add: toHaveBeenTriggeredOnAndWith()
- fix: stop toHaveValue from coercing types
- fix: ajax call that was breaking JSONFixture
- fix: loadStyleFixtures() in IE8
- fix: make toBeFocused() compatible with PhantomJS
- fix: update jQuery to 1.9
- fix: performance improvements
- fix: other minor fixes