Skip to main content

StringContaining

Matches any string that contains the given substring.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.strings.StringContaining(substring: string, example: string)

Parameters

NameTypeDescription
substringstringThe substring that the matcher must contain.
examplestringAn example string that passes this matcher.