From 0687b0395cea264080ff958f3beeeca82d2decbc Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Sat, 19 Jul 2025 03:18:08 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test:=20Added=20button=20label=20di?= =?UTF-8?q?splay=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/VButton.spec.ts | 3 +++ 1 file changed, 3 insertions(+) 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') }) })