import { Answerable } from '@serenity-js/core'; import { Expectation } from '../Expectation'; export function includes(expected: Answerable): Expectation { return Expectation.thatActualShould('include', expected) .soThat((actualValue, expectedValue) => actualValue.includes(expectedValue)); }