blob: 22672b9f8008f6f046fdb87a638b6e4650c9bcb8 [file] [log] [blame]
import './index';
import { {{.ClassName }} } from './{{.ElementName}}';
import { setUpElementUnderTest } from '../../../infra-sk/modules/test_util';
import { expect } from 'chai';
describe('{{.ElementName}}', () => {
const newInstance = setUpElementUnderTest<{{.ClassName}}>('{{.ElementName}}');
let element: {{.ClassName}};
beforeEach(() => {
element = newInstance((el: {{.ClassName}}) => {
// Place here any code that must run after the element is instantiated but
// before it is attached to the DOM (e.g. property setter calls,
// document-level event listeners, etc.).
});
});
describe('some action', () => {
it('some result', () => {});
expect(element).to.not.be.null;
});
});