Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.