toContain($expected);
}
if ($notExpected) {
expect($rendered)->not()->toContain($notExpected);
}
})->with([
'component parameter' => ['', ['label' => 'the label'], 'x-text="`the label`"'],
'component parameter with double quotes' => ['', ['label' => 'the "label"'], 'x-text="`the "label"`"'],
'component parameter with ``' => ['', [], 'x-text="`the \\`label\\``"'],
'escape dollars' => ['', [], 'x-text="`the \\$label`"'],
'escape kl' => ['', [], 'x-text="`the \\{label\\}`"'],
'raw php string' => ['', [], 'x-text="`the label`"'],
'raw js string' => ['', [], 'x-text="theLabel"'],
'raw js string with tag' => ['', [], 'x-text="the