Skip to content

Instantly share code, notes, and snippets.

@nerdic-coder
Created May 20, 2018 20:43
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/293285c108e8de27f5f77a9f12613c97 to your computer and use it in GitHub Desktop.
Save nerdic-coder/293285c108e8de27f5f77a9f12613c97 to your computer and use it in GitHub Desktop.
hero-search.spec.ts
import { render } from '@stencil/core/testing';
import { HeroeSearch } from './hero-search';
describe('app-hero-search', () => {
it('should build', () => {
expect(new HeroeSearch()).toBeTruthy();
});
describe('rendering', () => {
beforeEach(async () => {
await render({
components: [HeroeSearch],
html: '<app-hero-search></app-hero-search>'
});
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment