<?php

use function Termwind\{span};

it('renders the element', function () {
    $html = parse('<strong>text</strong>');

    expect($html)->toBe("\e[1mtext\e[0m");
});

it('renders the element with <b> tag', function () {
    $html = parse('<b>text</b>');

    expect($html)->toBe('<options=bold>text</>');
});

it('renders the element with <strong> tag', function () {
    $html = parse('<strong>text</strong>');

    expect($html)->toBe("\e[1mtext\e[0m");
});
