Test whether the target string contains the contained string.
target
contained
expect(contains('foobar', 'foo').value).toBeTruthy()
The string that should contain the element
The possibly contained string
Generated using TypeDoc
Test whether the
target
string contains thecontained
string.Example