expect()
supports all the expectations listed here! 🚀
notToContain
notToContainEqual
notToContainOnly
notToHaveCount
notToHaveKey
notToHaveSameSizeAs
toContain
toContainEqual
toContainOnly
toContainOnlyInstancesOf
toHaveCount
toHaveKey
toHaveSameSizeAs
notToHaveProperty
toHaveProperty
notToThrow
toThrow
notToHaveAttribute
notToHaveStaticAttribute
toHaveAttribute
toHaveStaticAttribute
notToBeReadable
notToBeWritable
notToExist
toBeReadable
toBeWritable
toExist
toExistAndNotToBeReadable
toExistAndNotToBeWritable
toExistAndToBeReadable
toExistAndToBeWritable
notToBeReadable
notToBeWritable
notToExist
toBeEqual
toBeEqualCanonicalizing
toBeEqualIgnoringCase
toBeReadable
toBeWritable
toExist
toExistAndNotToBeReadable
toExistAndNotToBeWritable
toExistAndToBeReadable
toExistAndToBeWritable
toNotEqual
toNotEqualCanonicalizing
toNotEqualIgnoringCase
notToEqualJsonFile
toEqualJsonFile
notToEqualJsonFile
notToEqualJsonString
toEqualJsonFile
toEqualJsonString
notToBe
notToBeArray
notToBeBool
notToBeCallable
notToBeClosedResource
notToBeEmpty
notToBeFalse
notToBeFloat
notToBeInstanceOf
notToBeInt
notToBeIterable
notToBeNull
notToBeNumeric
notToBeObject
notToBeResource
notToBeScalar
notToBeString
notToBeTrue
notToEqual
notToEqualCanonicalizing
notToEqualIgnoringCase
notToEqualWithDelta
toBe
toBeArray
toBeBool
toBeCallable
toBeClosedResource
toBeEmpty
toBeFalse
toBeFinite
toBeFloat
toBeGreaterThan
toBeGreaterThanOrEqualTo
toBeInfinite
toBeInstanceOf
toBeInt
toBeIterable
toBeLessThan
toBeLessThanOrEqualTo
toBeNan
toBeNull
toBeNumeric
toBeObject
toBeResource
toBeScalar
toBeString
toBeTrue
toEqual
toEqualCanonicalizing
toEqualIgnoringCase
toEqualWithDelta
notToContainString
notToContainStringIgnoringCase
notToEndWith
notToEqualFile
notToEqualFileCanonicalizing
notToEqualFileIgnoringCase
notToMatchFormat
notToMatchFormatFile
notToMatchRegExp
notToStartWith
toBeJson
toContainString
toContainStringIgnoringCase
toEndWith
toEqualFile
toEqualFileCanonicalizing
toEqualFileIgnoringCase
toMatchFormat
toMatchFormatFile
toMatchRegExp
toStartWith
notToEqualXmlFile
toEqualXmlFile
notToEqualXmlFile
notToEqualXmlString
toEqualXmlFile
toEqualXmlString