Skip to content

Releases: yeoman/yeoman-assert

v3.1.0

24 Sep 16:15
Compare
Choose a tag to compare
  • New assertion method assert.equalsFileContent() to asserts against exact file content.

v3.0.0

11 Feb 14:42
Compare
Choose a tag to compare
  • Drop Node < 4 support
  • Code cleanup and reduce dependencies

v2.2.2

14 Dec 18:52
Compare
Choose a tag to compare
  • Fix issue with null value in objectContent/jsonFileContent

v2.2.1

20 Apr 17:43
Compare
Choose a tag to compare
  • fix assert.JSONFileContent()

v2.2.0

17 Apr 19:17
Compare
Choose a tag to compare
  • Add assert.noObjectContent() and assert.noJsonFileContent()

v2.1.2

31 Mar 06:22
Compare
Choose a tag to compare
  • Fix assertion order of assert.objectContent

v2.1.1

08 Dec 18:28
Compare
Choose a tag to compare

Alias JSONFileContent to jsonFileContent so that we don't break linting rules about Caps letter being reserved for constructor.

v2.1.0

06 Sep 23:42
Compare
Choose a tag to compare

New methods

  • assert.objectContent() to assert an object contains at least a set of keys
  • assert.JSONFileContent() to assert a JSON file contains at least a set of keys (rely of assert.objectContent())

Improvements

  • Failing assert.fileContent() will now print the target file content.

v2.0.0

08 Apr 02:02
Compare
Choose a tag to compare

Finally got rid of our deprecated methods.