Files
webawesome/scripts/plop/templates/component/tests.hbs
2021-06-18 10:07:17 -04:00

14 lines
386 B
Handlebars

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