function assertStringIncludes(actual, expected, msg) {
  if (!actual.includes(expected)) {
    if (!msg) {
      msg = `actual: "${actual}" expected to contain: "${expected}"`;
    }
    throw new AssertionError(msg);
  }
}
/**
 * Make an assertion that actual includes expected. If not
 * then thrown.
 */
Make an assertion that actual includes expected. If not
then thrown.
Make an assertion that actual includes expected . If not then thrown .
function assertStringIncludes(actual, expected, msg) {
  if (!actual.includes(expected)) {
    if (!msg) {
      msg = `actual: "${actual}" expected to contain: "${expected}"`;
    }
    throw new AssertionError(msg);
  }
}
function assertStringIncludes ( actual , expected , msg ) { if ( ! actual . includes ( expected ) ) { if ( ! msg ) { msg = ` ${ actual } ${ expected } ` ; } throw new AssertionError ( msg ) ; } }
Make an assertion that actual includes expected.
Make an assertion that actual includes expected .