Assert that a string is included in another, or object is included in an array.
The thing to search in.
The thing to search for.
Optional error message if the assertion does not hold.
assertIncludes('foobar', 'foo');assertIncludes([9, 5, 3], 5); Copy
assertIncludes('foobar', 'foo');assertIncludes([9, 5, 3], 5);
Assert that a string is included in another, or object is included in an array.