Created
April 19, 2018 21:50
-
-
Save nerdic-coder/26b8d6776e3f200f30a855c5c86494ee to your computer and use it in GitHub Desktop.
heroes.spec.ts (initial version)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { render } from '@stencil/core/testing'; | |
import { Heroes } from './heroes'; | |
describe('app-heroes', () => { | |
it('should build', () => { | |
expect(new Heroes()).toBeTruthy(); | |
}); | |
describe('rendering', () => { | |
beforeEach(async () => { | |
await render({ | |
components: [Heroes], | |
html: '<app-heroes></app-heroes>' | |
}); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment