Skip to content

Releases: rkotze/should-enzyme

Support latest version of Should JS 13.x

07 May 15:27
Compare
Choose a tag to compare

Update peerDependencies and tests to support the latest version of should 13.x.

Upgrade to the latest version of other dev dependencies: Reactjs, eslint, babel ...

Upgrade jsdom to latest to fix security vulnerability in nested dev dependency hapijs/hoek v4.2.0 Modification of Assumed-Immutable Data (MAID) vulnerability.

Works with Enzyme 3

06 Feb 23:06
9af17a4
Compare
Choose a tag to compare

Breaking change is using the cheerio v1, null components are not present otherwise the reset of the API behaves the same.

Readme updated highlighting the issue with isPresent

Disabled

30 Jul 22:09
Compare
Choose a tag to compare

New feature added to check if an input field has been disabled.

Updates to dependencies

30 Jul 22:02
Compare
Choose a tag to compare

Note

Need to review breaking changes to:

  • sinon
  • react-element-to-jsx-string

prop support deepAssert

09 May 21:31
Compare
Choose a tag to compare
  • .prop(key, value) value now supports deepAssert for the likes of objects and arrays.
  • updated dependencies

data attributes

06 Mar 21:37
Compare
Choose a tag to compare

Assert on data attributes with .data(key, [value])

Props and undefined value

08 Feb 21:46
Compare
Choose a tag to compare
  • New props(object) feature added, assert on multiple props on a component.
  • Changes to attr, prop, state assertions if value argument is set to undefined then it will assert the props value. E.g. prop(key) === undefined rather than saying the prop is missing.

Present

05 Nov 17:22
Compare
Choose a tag to compare

Check if wrapper is present.

Form input value

26 Oct 23:23
Compare
Choose a tag to compare

Assert on form inputs: <input> <select> and <textarea> using new .value(string) feature.

Text and state

20 Oct 23:01
Compare
Choose a tag to compare

text() and state(key,[value]) assertions add.