Created
April 25, 2018 18:45
-
-
Save nerdic-coder/8169f4ab271f7c11a9b0d1bbc68f91ac to your computer and use it in GitHub Desktop.
hero detials unit tests
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 { HeroDetails } from './hero-details'; | |
describe('app-hero-details', () => { | |
it('should build', () => { | |
expect(new HeroDetails()).toBeTruthy(); | |
}); | |
describe('rendering', () => { | |
beforeEach(async () => { | |
await render({ | |
components: [HeroDetails], | |
html: '<app-hero-details></app-hero-details>' | |
}); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment