@bulmil/core
Version:

19 lines (18 loc) • 525 B
JavaScript
/*!
* Bulmil - MIT License
*/
import { newSpecPage } from "@stencil/core/testing";
import { Container } from "../container";
it('Should render properly', async () => {
const page = await newSpecPage({
components: [Container],
html: `<bm-container is-fluid>
<p>Hello, I'm in a container!</p>
</bm-container>`,
});
expect(page.root).toEqualHtml(`
<bm-container is-fluid class="container is-fluid">
<p>Hello, I'm in a container!</p>
</bm-container>
`);
});