UNPKG

@bulmil/core

Version:

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

21 lines (20 loc) 501 B
/*! * Bulmil - MIT License */ import { newSpecPage } from "@stencil/core/testing"; import { Image } from "../image"; it('Should render properly', async () => { const page = await newSpecPage({ components: [Image], html: `<bm-image size="is-32x32"> <img src="" /> </bm-image>`, }); expect(page.root).toEqualHtml(` <bm-image size="is-32x32"> <figure class="image is-32x32"> <img src="" /> </figure> </bm-image> `); });