shoelace/scripts/plop/templates/component/tests.hbs

10 wiersze
249 B
Handlebars

import { expect, fixture, html, waitUntil } from '@open-wc/testing';
describe('<{{ tag }}>', () => {
it('should render a component', async () => {
const el = await fixture(html` <{{ tag }}></{{ tag }}> `);
expect(el).to.exist;
});
});