Adds a set of custom matchers for HTML and CSS related checks, using jQuery.
The matchers provide custom error messages that try to be as helpful as possible, so that when things fail you can quickly pinpoint the problem.
- toExist
- toHaveLength
- toHaveId
- toHaveClass
- toHaveTag
- toHaveAttr
- toHaveProp
- toHaveText
- toHaveData
- toHaveValue
- toHaveCss
- toBeChecked
- toBeDisabled
- toBeEmpty
- toBeHidden
- toBeSelected
- toBeVisible
- toBeFocused
- toBeInDom
- toBeMatchedBy
- toHaveDescendant
- toHaveDescendantWithText
Package | Version |
---|---|
jasmine-jquery-matchers |
|
jest-jquery-matchers |
- Code:
git clone git://github.com/unindented/custom-jquery-matchers.git
- Home: https://github.com/unindented/custom-jquery-matchers/
- Daniel Perez Alvarez ([email protected])
Copyright (c) 2016 Daniel Perez Alvarez (unindented.org). This is free software, and may be redistributed under the terms specified in the LICENSE file.