blob: 3d4b4c8856a6b65bf82873a84332eef9e8561c87 [file] [log] [blame] [edit]
import './index';
import { expect } from 'chai';
import { {{.ClassName }} } from './{{.ElementName}}';
import { setUpElementUnderTest } from '../../../infra-sk/modules/test_util';
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;
});
});
});