blob: 75c8d8712aa457d566f754e42db55159b5556a79 [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;
});
});
});