UNPKG

@bulmil/core

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

19 lines (18 loc) 525 B
/*! * 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> `); });