Created
January 27, 2018 17:30
-
-
Save ramon-src/830b49e801fd832686223c4d68326e72 to your computer and use it in GitHub Desktop.
ServicePage - Init test using TDD, only validating if component contains a list
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 { mount } from 'vue-test-utils'; | |
import ServicePage from '@/components/Service'; | |
describe('ServicePage', () => { | |
it('should show the state from service', () => { | |
const servicePage = mount(ServicePage); | |
expect(servicePage.contains('.service__list')).toBe(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment