generator-mbww9-ngcomponent
Version:
20 lines (15 loc) • 463 B
text/typescript
import { <%= className %> } from './<%= selector %>.component';
describe('<%= className %>', () => {
let componentTest: <%= className %>;
const createComponentTest = () => {
return new <%= className %>();
};
beforeEach(() => {
componentTest = createComponentTest();
});
describe('constructor', () => {
it('Component should exists', () => {
expect(componentTest).exist;
});
});
});