# ExpectHelper
This helper allows performing assertions based on Chai.
# Examples
Zero-configuration when paired with other helpers like REST, Playwright:
// inside codecept.conf.js
{
  helpers: {
    Playwright: {...},
    ExpectHelper: {},
  }
}
# Methods
# expectAbove
# Parameters
- targetDataany
- aboveThanany
- customErrorMsgany?
# expectBelow
# Parameters
- targetDataany
- belowThanany
- customErrorMsgany?
# expectContain
# Parameters
- actualValueany
- expectedValueToContainany
- customErrorMsgany?
# expectDeepEqual
# Parameters
- actualValueany
- expectedValueany
- customErrorMsgany?
# expectDeepEqualExcluding
expects members of two JSON objects are deeply equal excluding some properties
# Parameters
- actualValueany
- expectedValueany
- fieldsToExcludeany
- customErrorMsgany?
# expectDeepIncludeMembers
expects an array to be a superset of another array
# Parameters
- supersetany
- setany
- customErrorMsgany?
# expectDeepMembers
expects members of two arrays are deeply equal
# Parameters
- actualValueany
- expectedValueany
- customErrorMsgany?
# expectEmpty
# Parameters
- targetDataany
- customErrorMsgany?
# expectEndsWith
# Parameters
- actualValueany
- expectedValueToEndWithany
- customErrorMsgany?
# expectEqual
# Parameters
- actualValueany
- expectedValueany
- customErrorMsgany?
# expectEqualIgnoreCase
# Parameters
- actualValueany
- expectedValueany
- customErrorMsgany?
# expectFalse
# Parameters
- targetDataany
- customErrorMsgany?
# expectHasAProperty
# Parameters
- targetDataany
- propertyNameany
- customErrorMsgany?
# expectHasProperty
# Parameters
- targetDataany
- propertyNameany
- customErrorMsgany?
# expectJsonSchema
# Parameters
- targetDataany
- jsonSchemaany
- customErrorMsgany?
# expectJsonSchemaUsingAJV
# Parameters
- targetDataany
- jsonSchemaany
- customErrorMsgany?
- ajvOptionsany? Pass AJV options
# expectLengthAboveThan
# Parameters
- targetDataany
- lengthAboveThanany
- customErrorMsgany?
# expectLengthBelowThan
# Parameters
- targetDataany
- lengthBelowThanany
- customErrorMsgany?
# expectLengthOf
# Parameters
- targetDataany
- lengthany
- customErrorMsgany?
# expectMatchesPattern
expects a JSON object matches a provided pattern
# Parameters
- actualValueany
- expectedPatternany
- customErrorMsgany?
# expectMatchRegex
# Parameters
- targetDataany
- regexany
- customErrorMsgany?
# expectNotContain
# Parameters
- actualValueany
- expectedValueToNotContainany
- customErrorMsgany?
# expectNotDeepEqual
# Parameters
- actualValueany
- expectedValueany
- customErrorMsgany?
# expectNotEndsWith
# Parameters
- actualValueany
- expectedValueToNotEndWithany
- customErrorMsgany?
# expectNotEqual
# Parameters
- actualValueany
- expectedValueany
- customErrorMsgany?
# expectNotStartsWith
# Parameters
- actualValueany
- expectedValueToNotStartWithany
- customErrorMsgany?
# expectStartsWith
# Parameters
- actualValueany
- expectedValueToStartWithany
- customErrorMsgany?
# expectToBeA
# Parameters
- targetDataany
- typeany
- customErrorMsgany?
# expectToBeAn
# Parameters
- targetDataany
- typeany
- customErrorMsgany?
# expectTrue
# Parameters
- targetDataany
- customErrorMsgany?