diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/example.spec.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/unit/example.spec.js b/tests/unit/example.spec.js deleted file mode 100644 index cb7abba3..00000000 --- a/tests/unit/example.spec.js +++ /dev/null @@ -1,12 +0,0 @@ -import { shallowMount } from '@vue/test-utils'; -import HelloWorld from '@/components/HelloWorld.vue'; - -describe('HelloWorld.vue', () => { - it('renders props.msg when passed', () => { - const msg = 'new message'; - const wrapper = shallowMount(HelloWorld, { - propsData: { msg } - }); - expect(wrapper.text()).toMatch(msg); - }); -}); |