Skip to content

Instantly share code, notes, and snippets.

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