Skip to content

Instantly share code, notes, and snippets.

@nerdic-coder
Created April 29, 2018 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nerdic-coder/afe792419a3cc9e2683d9943dc512472 to your computer and use it in GitHub Desktop.
Save nerdic-coder/afe792419a3cc9e2683d9943dc512472 to your computer and use it in GitHub Desktop.
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