← Back to index
function assertMatch

Make an assertion that actual match RegExp expected. If not then throw.

Parameters

🔗
actual: string
🔗
expected: RegExp
🔗
msg: string