@bulmil/core
Version:

17 lines (16 loc) • 464 B
JavaScript
/*!
* Bulmil - MIT License
*/
import { newSpecPage } from "@stencil/core/testing";
import { Progress } from "../progress";
it('Should render properly', async () => {
const page = await newSpecPage({
components: [Progress],
html: `<bm-progress value="50"></bm-progress>`,
});
expect(page.root).toEqualHtml(`
<bm-progress value="50">
<progress class="progress" value="50" max="100">50%</progress>
</bm-progress>
`);
});