Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
hero detials unit tests
import { render } from '@stencil/core/testing';
import { HeroDetails } from './hero-details';
describe('app-hero-details', () => {
it('should build', () => {
expect(new HeroDetails()).toBeTruthy();
});
describe('rendering', () => {
beforeEach(async () => {
await render({
components: [HeroDetails],
html: '<app-hero-details></app-hero-details>'
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.