Created
March 31, 2017 17:37
-
-
Save thulioph/eb0852caaeb98cc66cf2833d500ca92a to your computer and use it in GitHub Desktop.
Post sobre o Vuejs.
This file contains hidden or 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 Vue from 'vue'; | |
| import MyComponent from '@/MyComponent.vue'; | |
| describe('MyComponent Spec', () => { | |
| it('Sets the correct default data', () => { | |
| const cpData = MyComponent.data(); | |
| expect(cpData.message).toBe('Hello!'); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment