Skip to content

Instantly share code, notes, and snippets.

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