diff --git a/test/VButton.spec.ts b/test/VButton.spec.ts index f4dcced..f4e1d31 100644 --- a/test/VButton.spec.ts +++ b/test/VButton.spec.ts @@ -10,6 +10,9 @@ describe('VButton', () => { title: 'button' } }) + // Check that the props label has gone through + expect(wrapper.props('label')).toBe('button label') + // Checks that the rendering contains the expected value expect(wrapper.text()).toContain('button label') }) })