Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
heroes.spec.ts (initial version)
import { render } from '@stencil/core/testing';
import { Heroes } from './heroes';
describe('app-heroes', () => {
it('should build', () => {
expect(new Heroes()).toBeTruthy();
});
describe('rendering', () => {
beforeEach(async () => {
await render({
components: [Heroes],
html: '<app-heroes></app-heroes>'
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment